Buffer Interface
|
Base class for BFGTLUtilities::Device node access and modification. More...
#include <BFGTLUtilities.hpp>
Public Member Functions | |
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) |
Static Public Attributes | |
static const NodeType | Type = NodeType::Base |
Protected Member Functions | |
virtual void | copy (BaseNode const &to_alias) |
virtual void | copy (BaseNode &&to_take) |
Protected Attributes | |
PrivateData * | m_pd |
Base class for BFGTLUtilities::Device node access and modification.
BaseNode::BaseNode | ( | BaseNode const & | to_alias | ) |
BaseNode::BaseNode | ( | BaseNode && | to_take | ) |
Initialize a BaseNode instance referencing the same data as the given node. to_take will lose its reference.
Retrieve the node accessibility.
BFCiException | - Thrown if the node accessibility cannot be determined. |
References BFCiException::check(), and m_pd.
|
protectedvirtual |
|
protectedvirtual |
std::string BaseNode::description | ( | BFVOID | ) | const |
Retrieve the node description text. The node must be valid.
BFCiException | - Thrown if the node description text cannot be retrieved. |
References BFCiException::check(), and m_pd.
Referenced by getDescription().
std::string BaseNode::displayName | ( | BFVOID | ) | const |
Retrieve the node display name text. The node must be valid.
BFCiException | - Thrown if the node display name text cannot be retrieved. |
References BFCiException::check(), and m_pd.
Referenced by getDisplayName().
Retrieve the node description text. The node must be valid.
[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. |
BFCiException | - Thrown if the node name cannot be retrieved. |
References description().
Retrieve the node display name text. The node must be valid.
[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. |
BFCiException | - Thrown if the node name cannot be retrieved. |
References displayName().
Retrieve the node name string. This value is unique to each node. The node must be valid.
[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. |
BFCiException | - Thrown if the node name cannot be retrieved. |
References name().
Retrieve the node tool-tip text. The node must be valid.
[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. |
BFCiException | - Thrown if the node name cannot be retrieved. |
References toolTip().
bool BaseNode::ignoreCache | ( | BFVOID | ) | const |
Whether or not to ignore any cached data.
BFCiException | - Thrown if the node ignore cache status cannot be determined. |
References BFCiException::check(), and m_pd.
bool BaseNode::isNull | ( | BFVOID | ) | const |
bool BaseNode::isValid | ( | BFVOID | ) | const |
Check whether or not this handle references a Device node.
References m_pd.
Referenced by isNull(), and operator!().
std::string BaseNode::name | ( | BFVOID | ) | const |
Retrieve the node name string. This value is unique to each node. The node must be valid.
BFCiException | - Thrown if the node name cannot be retrieved. |
References BFCiException::check(), and m_pd.
Referenced by getName(), and operator==().
BaseNode::operator bool | ( | BFVOID | ) | const |
bool BaseNode::operator! | ( | BFVOID | ) | const |
bool BaseNode::operator!= | ( | BaseNode const & | other | ) | const |
Determine if this node is inequivalent to a different node. Null instances are not considered equivalent.
Make this node reference the same data as the node to_alias.
References copy().
Make this node reference the same data as the node to_take. to_take will lose its reference.
References copy().
bool BaseNode::operator== | ( | BaseNode const & | other | ) | const |
Determine if this node is equivalent to a different node. Null instances are not considered equivalent.
BFVOID BaseNode::setIgnoreCache | ( | const bool | ignore | ) |
Set whether or not to ignore any cached data.
BFCiException | - Thrown if the node ignore cache status cannot be set. |
References BFCiException::check(), and m_pd.
std::string BaseNode::toolTip | ( | BFVOID | ) | const |
Retrieve the node tool-tip text. The node must be valid.
BFCiException | - Thrown if the node tool-tip text cannot be retrieved. |
References BFCiException::check(), and m_pd.
Referenced by getToolTip().
Retrieve the node type.
BFCiException | - Thrown if the node type cannot be determined. |
References BFCiException::check(), and m_pd.
Referenced by BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::is_convertible().
|
protected |
|
static |