CFx SDK Documentation
2022 SP0
|
Functions | |
bool | isUnset (const OdBcf::OdBcfFileAttributesGroup &value) |
template<class TUnsetable > | |
const TUnsetable & | getUnset () |
template<> | |
const double & | getUnset< double > () |
template<> | |
const long & | getUnset< long > () |
template<> | |
const int & | getUnset< int > () |
template<> | |
const OdString & | getUnset< OdString > () |
template<> | |
const OdAnsiString & | getUnset< OdAnsiString > () |
template<> | |
const OdGUID & | getUnset< OdGUID > () |
bool | isUnset (const bool &value) |
bool | isUnset (const float &value) |
bool | isUnset (const double &value) |
bool | isUnset (const long value) |
bool | isUnset (const int value) |
bool | isUnset (const OdString &value) |
bool | isUnset (const OdAnsiString &value) |
bool | isUnset (const char *value) |
bool | isUnset (const OdGUID &value) |
template<class TInner > | |
bool | isUnset (const OdSmartPtr< TInner > &value) |
template<class TInner > | |
bool | isUnset (const OdArray< TInner > &value) |
template<class TKey , class TValue > | |
bool | isUnset (const std::map< TKey, TValue > &value) |
template<class TUnsetable > | |
void | initUnset (TUnsetable &value) |
bool | parseBool (const OdString &value) |
const OdString & | boolToString (bool value) |
BCF_EXPORT OdString | formatDir (const OdString &dir) |
BCF_EXPORT int | createDir (const OdString &dir) |
OdBcfTimeStampPtr | getCurrentTime () |
OdResult | createTextChild (TiXmlElement *pParent, const char *name, const char *value) |
OdResult | createConstructedChild (TiXmlElement *pParent, const char *name, const OdBcfElement *pValue) |
const OdString& OdBcf::Utils::boolToString | ( | bool | value | ) |
Converts boolean value to string.
value | [in] A boolean value. |
OdResult OdBcf::Utils::createConstructedChild | ( | TiXmlElement * | pParent, |
const char * | name, | ||
const OdBcfElement * | pValue | ||
) |
Adds constrcuted child to XML structure.
pParent | [in] A pointer to parent of the new element. |
name | [in] A string containing name of the new element. |
pValue | [in] A pointer to object responsible for creating value of the new element. |
BCF_EXPORT int OdBcf::Utils::createDir | ( | const OdString & | dir | ) |
Creates empty directory.
dir | [in] A string containing path to new directory. |
OdResult OdBcf::Utils::createTextChild | ( | TiXmlElement * | pParent, |
const char * | name, | ||
const char * | value | ||
) |
Adds text child to XML structure.
pParent | [in] A pointer to parent of the new element. |
name | [in] A string containing name of the new element. |
value | [in] A string containing value of the new element. |
BCF_EXPORT OdString OdBcf::Utils::formatDir | ( | const OdString & | dir | ) |
Formats path to directory to conform current platform.
dir | [in] A string containing path to directory. |
OdBcfTimeStampPtr OdBcf::Utils::getCurrentTime | ( | ) |
Creates a time stamp object containing local time and time zone of system.
const TUnsetable& OdBcf::Utils::getUnset | ( | ) |
Definition at line 42 of file BcfUnset.h.
|
inline |
Definition at line 44 of file BcfUnset.h.
|
inline |
Definition at line 46 of file BcfUnset.h.
|
inline |
Definition at line 45 of file BcfUnset.h.
|
inline |
Definition at line 48 of file BcfUnset.h.
|
inline |
Definition at line 49 of file BcfUnset.h.
|
inline |
Definition at line 47 of file BcfUnset.h.
void OdBcf::Utils::initUnset | ( | TUnsetable & | value | ) |
Definition at line 68 of file BcfUnset.h.
|
inline |
Definition at line 51 of file BcfUnset.h.
|
inline |
Definition at line 58 of file BcfUnset.h.
|
inline |
Definition at line 53 of file BcfUnset.h.
|
inline |
Definition at line 52 of file BcfUnset.h.
|
inline |
Definition at line 55 of file BcfUnset.h.
|
inline |
Definition at line 54 of file BcfUnset.h.
|
inline |
Definition at line 57 of file BcfUnset.h.
|
inline |
Definition at line 63 of file BcfUnset.h.
|
inline |
Definition at line 55 of file BcfFileAttributesGroup.h.
|
inline |
Definition at line 59 of file BcfUnset.h.
|
inline |
Definition at line 61 of file BcfUnset.h.
|
inline |
Definition at line 56 of file BcfUnset.h.
|
inline |
Definition at line 65 of file BcfUnset.h.
bool OdBcf::Utils::parseBool | ( | const OdString & | value | ) |
Checks if string is equal to "true" or "1".
value | [in] A string containing boolean value. |