Buffer Interface
Public Types | Public Member Functions | List of all members
BFGTLUtilities::PRIVATE_IMP::IntegerNodeBase Struct Reference

#include <BFGTLUtilities.hpp>

Inheritance diagram for BFGTLUtilities::PRIVATE_IMP::IntegerNodeBase:
BFGTLUtilities::PRIVATE_IMP::ValueNodeBase BFGTLUtilities::BaseNode BFGTLUtilities::IntegerNode

Public Types

typedef BFS64 Value
 

Public Member Functions

Value value (BFVOID) const
 
Value minimum (BFVOID) const
 
Value maximum (BFVOID) const
 
Value increment (BFVOID) const
 
BFVOID setValue (const Value val)
 
- Public Member Functions inherited from BFGTLUtilities::PRIVATE_IMP::ValueNodeBase
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)
 
- Public Member Functions inherited from BFGTLUtilities::BaseNode
 BaseNode (BFVOID)
 
 BaseNode (BaseNode const &to_alias)
 
 BaseNode (BaseNode &&to_take)
 
virtual ~BaseNode (BFVOID)
 
BaseNodeoperator= (BaseNode const &to_alias)
 
BaseNodeoperator= (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)
 

Additional Inherited Members

- Static Public Attributes inherited from BFGTLUtilities::BaseNode
static const NodeType Type = NodeType::Base
 
- Protected Member Functions inherited from BFGTLUtilities::BaseNode
virtual void copy (BaseNode const &to_alias)
 
virtual void copy (BaseNode &&to_take)
 
- Protected Attributes inherited from BFGTLUtilities::BaseNode
PrivateData * m_pd
 

Member Typedef Documentation

Member Function Documentation

PRIVATE_IMP::IntegerNodeBase::Value PRIVATE_IMP::IntegerNodeBase::increment ( BFVOID  ) const

Get the increment of values of the integer node, counting from the minimum.

Returns
The increment of values of the integer node, counting from the minimum.
Exceptions
BFCiException- Thrown if the node's increment value couldn't be retrieved.

References BFCiException::check().

800 {
801  BFS64 iVal;
802  size_t iSize = sizeof(iVal);
803  BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*m_pd->m_nodePtr, BFGTL_NODE_INC, &iVal, &iSize) );
804  return iVal;
805 }
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
PRIVATE_IMP::IntegerNodeBase::Value PRIVATE_IMP::IntegerNodeBase::maximum ( BFVOID  ) const

Get the maximum valid value of the integer node.

Returns
The maximum valid value of the integer node.
Exceptions
BFCiException- Thrown if the node's maximum value couldn't be retrieved.

References BFCiException::check().

785 {
786  BFS64 iVal;
787  size_t iSize = sizeof(iVal);
788  BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*m_pd->m_nodePtr, BFGTL_NODE_MAX, &iVal, &iSize) );
789  return iVal;
790 }
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
PRIVATE_IMP::IntegerNodeBase::Value PRIVATE_IMP::IntegerNodeBase::minimum ( BFVOID  ) const

Get the minimum valid value of the integer node.

Returns
The minimum valid value of the integer node.
Exceptions
BFCiException- Thrown if the node's minimum value couldn't be retrieved.

References BFCiException::check().

770 {
771  BFS64 iVal;
772  size_t iSize = sizeof(iVal);
773  BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*m_pd->m_nodePtr, BFGTL_NODE_MIN, &iVal, &iSize) );
774  return iVal;
775 }
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
BFVOID PRIVATE_IMP::IntegerNodeBase::setValue ( const Value  val)

Set the value of the integer node. This must conform to the system: value[N] = minimum + increment * N; minimum <= value <= maximum

Exceptions
BFCiException- Thrown if the node's value couldn't be set.

References BFCiException::check().

814 {
815  BFS64 iVal = val;
816  BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeWrite(*m_pd->m_nodePtr, BFGTL_NODE_VALUE, &iVal, sizeof(iVal)) );
817 }
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
PRIVATE_IMP::IntegerNodeBase::Value PRIVATE_IMP::IntegerNodeBase::value ( BFVOID  ) const

Get the integer node value.

Returns
The integer value of the node.
Exceptions
BFCiException- Thrown if the node value cannot be read.

References BFCiException::check().

755 {
756  BFS64 iVal;
757  size_t iSize = sizeof(iVal);
758  BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*m_pd->m_nodePtr, BFGTL_NODE_VALUE, &iVal, &iSize) );
759  return iVal;
760 }
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: