00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef RAUL_PATH_TABLE_HPP
00019 #define RAUL_PATH_TABLE_HPP
00020
00021 #include <raul/Path.hpp>
00022 #include <raul/Table.hpp>
00023
00024 namespace Raul {
00025
00026 template <typename T>
00027 class PathTable : public Table<Path, T> {
00028 public:
00034 typename Table<Path, T>::iterator find_descendants_end(
00035 typename Table<Path, T>::iterator parent)
00036 {
00037 return find_range_end(parent, &Path::descendant_comparator);
00038 }
00039
00040 typename Table<Path, T>::const_iterator find_descendants_end(
00041 typename Table<Path, T>::const_iterator parent) const
00042 {
00043 return find_range_end(parent, &Path::descendant_comparator);
00044 }
00045 };
00046
00047
00048 }
00049
00050 #endif // RAUL_PATH_TABLE_HPP
00051