#include "BcfCommon.h"
#include "StringArray.h"
#include <cstdint>
#include "BcfUnset.h"
Go to the source code of this file.
◆ CREATE_CONSTRUCTED_CHILD
#define CREATE_CONSTRUCTED_CHILD |
( |
|
pParent, |
|
|
|
Name, |
|
|
|
Value |
|
) |
| |
Value: \
{ \
return pParent##Res; \
}
OdResult createConstructedChild(TiXmlElement *pParent, const char *name, const OdBcfElement *pValue)
Definition at line 111 of file BcfUtils.h.
◆ CREATE_TEXT_CHILD
#define CREATE_TEXT_CHILD |
( |
|
pParent, |
|
|
|
Name, |
|
|
|
Value |
|
) |
| |
Value: \
{ \
return pParent##Res; \
}
OdResult createTextChild(TiXmlElement *pParent, const char *name, const char *value)
Definition at line 95 of file BcfUtils.h.
◆ VALIDATE_REQUIRED_CONSTRUCTED_COLLECTION
#define VALIDATE_REQUIRED_CONSTRUCTED_COLLECTION |
( |
|
Collection | ) |
|
Value: \
VALIDATE_UNREQUIRED_CONSTRUCTED_COLLECTION(Collection); \
if(Collection.size() == 0) \
{ \
return false; \
}
Definition at line 156 of file BcfUtils.h.
◆ VALIDATE_REQUIRED_CONSTRUCTED_FIELD
#define VALIDATE_REQUIRED_CONSTRUCTED_FIELD |
( |
|
Field | ) |
|
Value: \
{ \
if(Field->validate() == false) \
{ \
return false; \
} \
} \
else \
{ \
return false; \
}
bool isUnset(const OdBcf::OdBcfFileAttributesGroup &value)
Definition at line 135 of file BcfUtils.h.
◆ VALIDATE_SIMPLE_FIELD
#define VALIDATE_SIMPLE_FIELD |
( |
|
Field | ) |
|
◆ VALIDATE_UNREQUIRED_CONSTRUCTED_COLLECTION
#define VALIDATE_UNREQUIRED_CONSTRUCTED_COLLECTION |
( |
|
Collection | ) |
|
Value: \
for(const auto& element : Collection) \
{ \
VALIDATE_UNREQUIRED_CONSTRUCTED_FIELD(element); \
}
Definition at line 149 of file BcfUtils.h.
◆ VALIDATE_UNREQUIRED_CONSTRUCTED_FIELD
#define VALIDATE_UNREQUIRED_CONSTRUCTED_FIELD |
( |
|
Field | ) |
|
Value: \
{ \
if(Field->validate() == false) \
{ \
return false; \
} \
}
Definition at line 125 of file BcfUtils.h.