CFx SDK Documentation  2022 SP0
Public Member Functions | Static Public Member Functions | List of all members
OD::Path Class Reference

#include <OdPathUtil.h>

Inheritance diagram for OD::Path:
OdArray< OdString >

Public Member Functions

 Path ()
 
 Path (const OdAnsiString &path)
 
 Path (const OdString &path)
 
 Path (const OdChar *path)
 
 Path (const char *path)
 
Path operator+ (const OdAnsiString &path) const
 
Path operator+ (const OdString &path) const
 
Path operator+ (const char *path) const
 
Path operator+ (const OdChar *path) const
 
Path operator+ (const Path &path) const
 
Pathoperator+= (const OdAnsiString &path)
 
Pathoperator+= (const OdString &path)
 
Pathoperator+= (const char *path)
 
Pathoperator+= (const OdChar *path)
 
Pathoperator+= (const Path &path)
 
OdString asStr (bool asdir=false, char sepch='/') const
 
- Public Member Functions inherited from OdArray< OdString >
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void insert (iterator before, const_iterator first, const_iterator afterLast)
 
iterator insert (iterator before, size_type numElements, const OdString &value)
 
iterator insert (iterator before, const OdString &value=OdString())
 
void resize (size_type logicalLength, const OdString &value)
 
void resize (size_type logicalLength)
 
size_type size () const
 
bool empty () const
 
size_type capacity () const
 
void reserve (size_type reserveLength)
 
void assign (const_iterator first, const_iterator afterLast)
 
iterator erase (iterator first, iterator afterLast)
 
iterator erase (iterator where)
 
void clear ()
 
void push_back (const OdString &value)
 
bool contains (const OdString &value, size_type start=0) const
 
size_type length () const
 
bool isEmpty () const
 
size_type logicalLength () const
 
size_type physicalLength () const
 
int growLength () const
 
const OdStringasArrayPtr () const
 
OdStringasArrayPtr ()
 
const OdStringgetPtr () const
 
const OdStringoperator[] (size_type index) const
 
OdStringoperator[] (size_type index)
 
OdStringat (size_type arrayIndex)
 
const OdStringat (size_type arrayIndex) const
 
OdArraysetAt (size_type arrayIndex, const OdString &value)
 
const OdStringgetAt (size_type arrayIndex) const
 
OdStringfirst ()
 
const OdStringfirst () const
 
OdStringlast ()
 
const OdStringlast () const
 
size_type append (const OdString &value)
 
iterator append ()
 
OdArrayappend (const OdArray &otherArray)
 
OdArrayremoveFirst ()
 
OdArrayremoveLast ()
 
OdArraysetGrowLength (int growLength)
 
 OdArray (size_type physicalLength, int growLength=8)
 
 OdArray ()
 
 OdArray (const OdArray &source)
 
 ~OdArray ()
 
OdArrayoperator= (const OdArray &source)
 
bool operator== (const OdArray &array) const
 
OdArraysetAll (const OdString &value)
 
OdArrayinsertAt (size_type arrayIndex, const OdString &value)
 
OdArrayremoveAt (size_type arrayIndex)
 
OdArrayremoveSubArray (size_type startIndex, size_type endIndex)
 
bool find (const OdString &value, size_type &findIndex, size_type start=0) const
 
OdArraysetLogicalLength (size_type logLength)
 
OdArraysetPhysicalLength (size_type physLength)
 
OdArrayreverse ()
 
OdArrayswap (size_type firstIndex, size_type secondIndex)
 
bool remove (const OdString &value, size_type start=0)
 

Static Public Member Functions

static const char * Walk (const char *szPath, const char *delimeters="/\\")
 

Additional Inherited Members

- Public Types inherited from OdArray< OdString >
typedef A::size_type size_type
 
typedef OdStringiterator
 
typedef const OdStringconst_iterator
 
typedef OdString value_type
 
typedef const OdStringconst_reference
 
typedef OdStringreference
 

Detailed Description

Definition at line 36 of file OdPathUtil.h.

Constructor & Destructor Documentation

◆ Path() [1/5]

OD::Path::Path ( )
inline

Definition at line 44 of file OdPathUtil.h.

◆ Path() [2/5]

OD::Path::Path ( const OdAnsiString &  path)
inline

Definition at line 110 of file OdPathUtil.h.

◆ Path() [3/5]

OD::Path::Path ( const OdString path)
inline

Definition at line 109 of file OdPathUtil.h.

◆ Path() [4/5]

OD::Path::Path ( const OdChar path)
inline

Definition at line 107 of file OdPathUtil.h.

◆ Path() [5/5]

OD::Path::Path ( const char *  path)
inline

Definition at line 108 of file OdPathUtil.h.

Member Function Documentation

◆ asStr()

OdString OD::Path::asStr ( bool  asdir = false,
char  sepch = '/' 
) const
inline

Definition at line 126 of file OdPathUtil.h.

◆ operator+() [1/5]

Path OD::Path::operator+ ( const char *  path) const
inline

Definition at line 117 of file OdPathUtil.h.

◆ operator+() [2/5]

Path OD::Path::operator+ ( const OdAnsiString &  path) const
inline

Definition at line 115 of file OdPathUtil.h.

◆ operator+() [3/5]

Path OD::Path::operator+ ( const OdChar path) const
inline

Definition at line 118 of file OdPathUtil.h.

◆ operator+() [4/5]

Path OD::Path::operator+ ( const OdString path) const
inline

Definition at line 116 of file OdPathUtil.h.

◆ operator+() [5/5]

Path OD::Path::operator+ ( const Path path) const
inline

Definition at line 119 of file OdPathUtil.h.

◆ operator+=() [1/5]

Path & OD::Path::operator+= ( const char *  path)
inline

Definition at line 122 of file OdPathUtil.h.

◆ operator+=() [2/5]

Path & OD::Path::operator+= ( const OdAnsiString &  path)
inline

Definition at line 120 of file OdPathUtil.h.

◆ operator+=() [3/5]

Path & OD::Path::operator+= ( const OdChar path)
inline

Definition at line 123 of file OdPathUtil.h.

◆ operator+=() [4/5]

Path & OD::Path::operator+= ( const OdString path)
inline

Definition at line 121 of file OdPathUtil.h.

◆ operator+=() [5/5]

Path & OD::Path::operator+= ( const Path path)
inline

Definition at line 124 of file OdPathUtil.h.

◆ Walk()

const char * OD::Path::Walk ( const char *  szPath,
const char *  delimeters = "/\\" 
)
inlinestatic

Definition at line 76 of file OdPathUtil.h.


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