igor::iEntityIDPath Class Reference

#include <iEntityIDPath.h>

Public Member Functions

 iEntityIDPath ()=default
 
 iEntityIDPath (const iEntityIDPath &other)
 
 iEntityIDPath (const iaString &path)
 
const iaString toString () const
 
const std::vector< iEntityID > & getPath () const
 
void operator+= (const iEntityID &entityID)
 
bool operator== (const iEntityIDPath &other) const
 
bool operator!= (const iEntityIDPath &other) const
 
void reverse ()
 

Detailed Description

entity id path definition

Constructor & Destructor Documentation

◆ iEntityIDPath() [1/3]

igor::iEntityIDPath::iEntityIDPath ( )
default

does nothing

◆ iEntityIDPath() [2/3]

igor::iEntityIDPath::iEntityIDPath ( const iEntityIDPath other)

copy ctor

Parameters
otherthe other id path

◆ iEntityIDPath() [3/3]

igor::iEntityIDPath::iEntityIDPath ( const iaString path)

init from string

Parameters
paththe string to init with

Member Function Documentation

◆ getPath()

const std::vector< iEntityID > & igor::iEntityIDPath::getPath ( ) const
Returns
path

◆ operator!=()

bool igor::iEntityIDPath::operator!= ( const iEntityIDPath other) const

compare two entityID paths being not equal

Returns
true if not equal
Parameters
otherthe other entityID path

◆ operator+=()

void igor::iEntityIDPath::operator+= ( const iEntityID entityID)

appends path to item path

Parameters
paththe path to append

◆ operator==()

bool igor::iEntityIDPath::operator== ( const iEntityIDPath other) const

compare two entityID paths being equal

Returns
true if equal
Parameters
otherthe other entityID path

◆ reverse()

void igor::iEntityIDPath::reverse ( )

reverse path

◆ toString()

const iaString igor::iEntityIDPath::toString ( ) const
Returns
string version of ID path using '/' as delimiter

The documentation for this class was generated from the following files: