2 #ifndef GAUDIKERNEL_DATASTOREITEM_H
3 #define GAUDIKERNEL_DATASTOREITEM_H
55 int len =
m_path.length()-1;
56 if (
m_path[len] ==
'*' ) {
60 else if (
m_path[len] ==
'+' ) {
66 const std::string&
path()
const {
74 #endif // GAUDIKERNEL_DATASTOREITEM_H
int depth() const
Accessor: Retrieve load depth.
std::string m_path
Path of item to be loaded.
bool operator!=(const DataStoreItem &cmp) const
Inequality operator.
DataStoreItem(const std::string &path, int depth=1)
Standard Constructor.
Description of the DataStoreItem class.
virtual ~DataStoreItem()
Standard Destructor.
const std::string & path() const
Accessor: Retrieve load path.
void analyse()
Interprete the load path for special options.
int m_depth
Depth to be auto-loaded from the requested path onwards.
bool operator==(const DataStoreItem &cmp) const
Equality operator.
DataStoreItem & operator=(const DataStoreItem &cmp)
Equivalence operator.
DataStoreItem(const DataStoreItem &item)
Copy constructor.