|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
Represents a single component in a resource path. More...
#include <path_parser.hpp>

Public Member Functions | |
| PathComponent (ComponentType t, std::string v) | |
| PathComponent (ComponentType t, std::string v, int idx) | |
| bool | is_collection () const |
| bool | is_item () const |
| bool | is_property () const |
| bool | is_index () const |
| bool | has_wildcard () const |
Public Attributes | |
| ComponentType | type |
| std::string | value |
| std::optional< int > | index |
Represents a single component in a resource path.
Examples:
Definition at line 43 of file path_parser.hpp.
|
inline |
Definition at line 48 of file path_parser.hpp.
|
inline |
Definition at line 51 of file path_parser.hpp.
|
inline |
Definition at line 58 of file path_parser.hpp.
References value.
|
inline |
Definition at line 54 of file path_parser.hpp.
References rux::database::Collection, and type.
|
inline |
Definition at line 57 of file path_parser.hpp.
References rux::database::Index, and type.
|
inline |
Definition at line 55 of file path_parser.hpp.
References rux::database::Item, and type.
|
inline |
Definition at line 56 of file path_parser.hpp.
References rux::database::Property, and type.
| std::optional<int> rux::database::PathComponent::index |
Definition at line 46 of file path_parser.hpp.
Referenced by PathComponent(), and PathComponent().
| ComponentType rux::database::PathComponent::type |
Definition at line 44 of file path_parser.hpp.
Referenced by is_collection(), is_index(), is_item(), is_property(), PathComponent(), and PathComponent().
| std::string rux::database::PathComponent::value |
Definition at line 45 of file path_parser.hpp.
Referenced by has_wildcard(), PathComponent(), and PathComponent().