igor::iItemPath Class Reference

#include <iItemPath.h>

Public Member Functions

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

Detailed Description

item path definition

Constructor & Destructor Documentation

◆ iItemPath() [1/3]

igor::iItemPath::iItemPath ( )
default

init empty item path

◆ iItemPath() [2/3]

igor::iItemPath::iItemPath ( const iaString path)

init path from string

Parameters
paththe given path

◆ iItemPath() [3/3]

igor::iItemPath::iItemPath ( const std::vector< iaString > &  path)

copy ctor

Member Function Documentation

◆ getPath()

const std::vector< iaString > & igor::iItemPath::getPath ( ) const
Returns
path data

◆ operator!=()

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

compare two item paths being not equal

Returns
true if not equal
Parameters
otherthe other item path

◆ operator+=()

void igor::iItemPath::operator+= ( const iaString path)

appends path to item path

Parameters
paththe path to append

◆ operator==()

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

compare two item paths being equal

Returns
true if equal
Parameters
otherthe other item path

◆ reverse()

void igor::iItemPath::reverse ( )

reverse path

◆ toString()

const iaString igor::iItemPath::toString ( ) const
Returns
path as string using '/' as delimiter

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