#include <BFGTLUtilities.hpp>
bool PRIVATE_IMP::EnumEntryNodeBase::getSymbolic |
( |
BFCHAR *const |
hBuf, |
|
|
BFSIZET *const |
pSize |
|
) |
| const |
Return the symbolic name of the enumeration entry.
- Parameters
-
[out] | hBuf | - The string buffer pointer, filled with as much data as is possible. May be nullptr. |
[in,out] | pSize | - As input, the size of hBuf. As output, the buffer size requried. |
- Returns
- True on success, false otherwise.
- Exceptions
-
BFCiException | - Thrown if the node entry symbolic name couldn't be determined. |
1595 return BufInHelpers::set_str(
symbolic(), hBuf, pSize);
std::string symbolic(BFVOID) const
Definition: BFGTLUtilities.cpp:1572
std::string PRIVATE_IMP::EnumEntryNodeBase::symbolic |
( |
BFVOID |
| ) |
const |
Return the symbolic name of the enumeration entry.
- Returns
- The symbolic name of the enumeration entry.
- Exceptions
-
BFCiException | - Thrown if the node entry symbolic name couldn't be determined. |
References BFCiException::check().
1577 std::vector<char> iVal (iSize);
1578 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_SYMBOLIC, iVal.data(), &iSize) );
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
BFS64 PRIVATE_IMP::EnumEntryNodeBase::value |
( |
BFVOID |
| ) |
const |
Return the integer value of the enumeration entry.
- Returns
- The integer value of the enumeration entry.
- Exceptions
-
References BFCiException::check().
1560 size_t iSize =
sizeof(iVal);
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
long long BFS64
Definition: BFTypeNT.h:54
The documentation for this struct was generated from the following files: