#include <BFGTLUtilities.hpp>
|
| Value | entryValue (BFVOID) const |
| |
| std::string | entryName (BFVOID) const |
| |
| bool | getEntryName (BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| std::string | entrySymbolic (BFVOID) const |
| |
| bool | getEntrySymbolic (BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| BFS64 | entryCount (BFVOID) const |
| |
| EntryValues | entryValues (BFVOID) const |
| |
| bool | enumerateEntryValue (const BFS64 index, Value *const pVal) const |
| |
| EntryStrings | entryNames (BFVOID) const |
| |
| bool | enumerateEntryName (const BFS64 index, BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| EntryStrings | entrySymbolics (BFVOID) const |
| |
| bool | enumerateEntrySymbolic (const BFS64 index, BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| Entry | entry (BFVOID) const |
| |
| Entries | entries (BFVOID) const |
| |
| bool | enumerateEntry (const BFS64 index, Entry *const pEntry) const |
| |
| BFVOID | setEntryValue (const Value val) |
| |
| BFVOID | setEntryName (std::string const &name) |
| |
| BFVOID | setEntryName (const BFCHAR *const name) |
| |
| BFVOID | setEntrySymbolic (std::string const &symbolic) |
| |
| BFVOID | setEntrySymbolic (const BFCHAR *const symbolic) |
| |
| std::string | toString (BFVOID) const |
| |
| bool | getToString (BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| BFVOID | fromString (std::string const &strVal) |
| |
| BFVOID | fromString (const BFCHAR *const strVal) |
| |
| | BaseNode (BFVOID) |
| |
| | BaseNode (BaseNode const &to_alias) |
| |
| | BaseNode (BaseNode &&to_take) |
| |
| virtual | ~BaseNode (BFVOID) |
| |
| BaseNode & | operator= (BaseNode const &to_alias) |
| |
| BaseNode & | operator= (BaseNode &&to_take) |
| |
| bool | isValid (BFVOID) const |
| |
| | operator bool (BFVOID) const |
| |
| bool | isNull (BFVOID) const |
| |
| bool | operator! (BFVOID) const |
| |
| bool | operator== (BaseNode const &other) const |
| |
| bool | operator!= (BaseNode const &other) const |
| |
| std::string | name (BFVOID) const |
| |
| bool | getName (BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| std::string | displayName (BFVOID) const |
| |
| bool | getDisplayName (BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| std::string | toolTip (BFVOID) const |
| |
| bool | getToolTip (BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| std::string | description (BFVOID) const |
| |
| bool | getDescription (BFCHAR *const hBuf, BFSIZET *const pSize) const |
| |
| NodeType | type (BFVOID) const |
| |
| Access | access (BFVOID) const |
| |
| bool | ignoreCache (BFVOID) const |
| |
| BFVOID | setIgnoreCache (const bool ignore) |
| |
Return a list of the enumeration entry nodes.
- Returns
- A list of the enumeration entry nodes.
- Exceptions
-
| BFCiException | - Thrown if the node entries couldn't be found and opened. |
1471 es.push_back(
m_pd->m_nodePtr->m_device.getNode(eName) );
EntryStrings entryNames(BFVOID) const
Definition: BFGTLUtilities.cpp:1347
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
std::vector< Entry > Entries
Definition: BFGTLUtilities.hpp:486
Return the current enumeration entry node.
- Returns
- The current enumeration entry node.
- Exceptions
-
| BFCiException | - Thrown if the node entry couldn't be found and opened. |
std::string entryName(BFVOID) const
Definition: BFGTLUtilities.cpp:1229
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
| BFS64 PRIVATE_IMP::EnumerationNodeBase::entryCount |
( |
BFVOID |
| ) |
const |
Return the number of entries in this enumeration.
- Returns
- The number of entries in this enumeration.
- Exceptions
-
| BFCiException | - Thrown if the node entry count couldn't determined. |
References BFCiException::check().
1298 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
| std::string PRIVATE_IMP::EnumerationNodeBase::entryName |
( |
BFVOID |
| ) |
const |
Return the node name of the currently selected enumeration entry.
- Returns
- The node name of the currently selected enumeration entry.
- Exceptions
-
| BFCiException | - Thrown if the node current entry name couldn't determined. |
References BFCiException::check().
1234 std::vector<char> iVal (iSize);
1235 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_NAME, iVal.data(), &iSize) );
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
Return a list of the enumeration entries' node names.
- Returns
- A list of the enumeration entries' node names.
- Exceptions
-
| BFCiException | - Thrown if the node entry names couldn't be determined. |
References BFCiException::check().
1350 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_NAMES,
nullptr, &iSize) );
1352 std::vector<char> iVal (iSize);
1353 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_NAMES, iVal.data(), &iSize) );
1355 size_t *strOffsets =
reinterpret_cast<size_t*
>(iVal.data());
1359 eNames.push_back(&iVal[*strOffsets++]);
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
std::vector< std::string > EntryStrings
Definition: BFGTLUtilities.hpp:483
| std::string PRIVATE_IMP::EnumerationNodeBase::entrySymbolic |
( |
BFVOID |
| ) |
const |
Return the symbolic name of the currently selected enumeration entry.
- Returns
- The symbolic name of the currently selected enumeration entry.
- Exceptions
-
| BFCiException | - Thrown if the node current entry symbolic name couldn't determined. |
References BFCiException::check().
1267 std::vector<char> iVal (iSize);
1268 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
Return a list of the enumeration entries' symbolic names.
- Returns
- A list of the enumeration entries' symbolic names.
- Exceptions
-
| BFCiException | - Thrown if the node entry symbolic names couldn't be determined. |
References BFCiException::check().
1404 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_SYMBOLICS,
nullptr, &iSize) );
1406 std::vector<char> iVal (iSize);
1407 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_SYMBOLICS, iVal.data(), &iSize) );
1409 size_t *strOffsets =
reinterpret_cast<size_t*
>(iVal.data());
1413 eNames.push_back(&iVal[*strOffsets++]);
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
std::vector< std::string > EntryStrings
Definition: BFGTLUtilities.hpp:483
Return the integer value of the currently selected enumeration entry.
- Returns
- The integer value of the currently selected enumeration entry.
- Exceptions
-
| BFCiException | - Thrown if the node current entry value couldn't be read. |
References BFCiException::check().
1217 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
Return a list of the enumeration entries' integer values.
- Returns
- A list of the enumeration entries' integer values.
- Exceptions
-
References BFCiException::check().
1313 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_VALUES,
nullptr, &iSize) );
1315 std::vector<BFU8> iVal (iSize);
1316 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_VALUES, iVal.data(), &iSize) );
1318 const size_t entryCnt = iSize /
sizeof(
BFS64);
1319 BFS64 *entryVals =
reinterpret_cast<BFS64*
>(iVal.data());
1320 return EntryValues (entryVals, entryVals + entryCnt);
std::vector< Value > EntryValues
Definition: BFGTLUtilities.hpp:484
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
| bool PRIVATE_IMP::EnumerationNodeBase::enumerateEntry |
( |
const BFS64 |
index, |
|
|
Entry *const |
pEntry |
|
) |
| const |
Retrieve an enumeration entry for the given index.
- Parameters
-
| [in] | index | - The index of the enumeration entry to retrieve. |
| [out] | pEntry | - The enumeration entry handle. |
- Returns
- True if the entry was successfully retrieve, otherwise false.
- Exceptions
-
| BFCiException | - Thrown if the node entry couldn't be found and opened. |
1488 if (ens.size() <= (size_t)index)
1491 *pEntry =
m_pd->m_nodePtr->m_device.getNode(ens[(
size_t)index]);
EntryStrings entryNames(BFVOID) const
Definition: BFGTLUtilities.cpp:1347
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
| bool PRIVATE_IMP::EnumerationNodeBase::enumerateEntryName |
( |
const BFS64 |
index, |
|
|
BFCHAR *const |
hBuf, |
|
|
BFSIZET *const |
pSize |
|
) |
| const |
Retrieve the enumeration entry string name for the given index.
- Parameters
-
| [in] | index | - The index of the enumeration entry to query. |
| [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 names couldn't be determined. |
References BFCiException::check().
1378 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_NAMES,
nullptr, &iSize) );
1380 std::vector<char> iVal (iSize);
1381 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_NAMES, iVal.data(), &iSize) );
1383 size_t *strOffsets =
reinterpret_cast<size_t*
>(iVal.data());
1385 for (
BFS64 i = 0; *strOffsets; i++, strOffsets++)
1388 return BufInHelpers::set_str(&iVal[*strOffsets], hBuf, pSize);
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
| bool PRIVATE_IMP::EnumerationNodeBase::enumerateEntrySymbolic |
( |
const BFS64 |
index, |
|
|
BFCHAR *const |
hBuf, |
|
|
BFSIZET *const |
pSize |
|
) |
| const |
Retrieve the enumeration entry string symbolic for the given index.
- Parameters
-
| [in] | index | - The index of the enumeration entry to query. |
| [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 couldn't be determined. |
References BFCiException::check().
1432 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_SYMBOLICS,
nullptr, &iSize) );
1434 std::vector<char> iVal (iSize);
1435 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_ENTRY_SYMBOLICS, iVal.data(), &iSize) );
1437 size_t *strOffsets =
reinterpret_cast<size_t*
>(iVal.data());
1439 for (
BFS64 i = 0; *strOffsets; i++, strOffsets++)
1442 return BufInHelpers::set_str(&iVal[*strOffsets], hBuf, pSize);
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
| bool PRIVATE_IMP::EnumerationNodeBase::enumerateEntryValue |
( |
const BFS64 |
index, |
|
|
Value *const |
pVal |
|
) |
| const |
Retrieve the enumeration entry integer value for the given index.
- Returns
- True on success, false otherwise.
- Exceptions
-
1333 if (evs.size() <= (size_t)index)
1336 *pVal = evs[(size_t)index];
EntryValues entryValues(BFVOID) const
Definition: BFGTLUtilities.cpp:1310
| bool PRIVATE_IMP::EnumerationNodeBase::getEntryName |
( |
BFCHAR *const |
hBuf, |
|
|
BFSIZET *const |
pSize |
|
) |
| const |
Return the node name of the currently selected 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 current entry name couldn't determined. |
1252 return BufInHelpers::set_str(
entryName(), hBuf, pSize);
std::string entryName(BFVOID) const
Definition: BFGTLUtilities.cpp:1229
| bool PRIVATE_IMP::EnumerationNodeBase::getEntrySymbolic |
( |
BFCHAR *const |
hBuf, |
|
|
BFSIZET *const |
pSize |
|
) |
| const |
Return the symbolic name of the currently selected 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 current entry symbolic name couldn't determined. |
std::string entrySymbolic(BFVOID) const
Definition: BFGTLUtilities.cpp:1262
| BFVOID PRIVATE_IMP::EnumerationNodeBase::setEntryName |
( |
std::string const & |
name | ) |
|
Set the current entry by its node name.
- Exceptions
-
References BFCiException::check().
std::string name(BFVOID) const
Definition: BFGTLUtilities.cpp:503
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
| BFVOID PRIVATE_IMP::EnumerationNodeBase::setEntryName |
( |
const BFCHAR *const |
name | ) |
|
Set the current entry by its node name.
- Exceptions
-
1523 const std::string cppName (
name);
std::string name(BFVOID) const
Definition: BFGTLUtilities.cpp:503
BFVOID setEntryName(std::string const &name)
Definition: BFGTLUtilities.cpp:1511
| BFVOID PRIVATE_IMP::EnumerationNodeBase::setEntrySymbolic |
( |
std::string const & |
symbolic | ) |
|
Set the current entry by its symbolic name.
- Exceptions
-
References BFCiException::check().
1534 BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeWrite(*
m_pd->m_nodePtr, BFGTL_NODE_SYMBOLIC, symbolic.c_str(), symbolic.length()) );
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
| BFVOID PRIVATE_IMP::EnumerationNodeBase::setEntrySymbolic |
( |
const BFCHAR *const |
symbolic | ) |
|
Set the current entry by its symbolic name.
- Exceptions
-
1544 const std::string cppSymbolic (symbolic);
BFVOID setEntrySymbolic(std::string const &symbolic)
Definition: BFGTLUtilities.cpp:1532
| BFVOID PRIVATE_IMP::EnumerationNodeBase::setEntryValue |
( |
const Value |
val | ) |
|
Set the current entry by its integer value.
- Exceptions
-
References BFCiException::check().
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: