Buffer Interface
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE > Struct Template Reference

#include <BFGTLUtilities.hpp>

Inheritance diagram for BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >:
BFGTLUtilities::BaseNode

Public Member Functions

 NodeImpT (BFVOID)
 
 NodeImpT (NodeImpT const &to_alias)
 
 NodeImpT (NodeImpT &&to_alias)
 
 NodeImpT (BaseNode const &to_alias)
 
 NodeImpT (BaseNode &&to_take)
 
NodeImpToperator= (BaseNode const &to_alias)
 
NodeImpToperator= (BaseNode &&to_take)
 
- 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)
 

Static Public Member Functions

static bool is_convertible (BaseNode const &other)
 

Static Public Attributes

static const NodeType Type = NODE_TYPE
 
- Static Public Attributes inherited from BFGTLUtilities::BaseNode
static const NodeType Type = NodeType::Base
 

Additional Inherited Members

- Protected Attributes inherited from BFGTLUtilities::BaseNode
PrivateData * m_pd
 

Constructor & Destructor Documentation

template<class NodeT , NodeType NODE_TYPE>
BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::NodeImpT ( BFVOID  )
inline
326 { }
template<class NodeT , NodeType NODE_TYPE>
BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::NodeImpT ( NodeImpT< NodeT, NODE_TYPE > const &  to_alias)
inline
329  : BaseNode ( to_alias )
330  { }
BaseNode(BFVOID)
Definition: BFGTLUtilities.cpp:364
template<class NodeT , NodeType NODE_TYPE>
BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::NodeImpT ( NodeImpT< NodeT, NODE_TYPE > &&  to_alias)
inline
332  : BaseNode ( std::move(to_alias) )
333  { }
BaseNode(BFVOID)
Definition: BFGTLUtilities.cpp:364
template<class NodeT , NodeType NODE_TYPE>
BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::NodeImpT ( BaseNode const &  to_alias)
inline
336  : BaseNode ( is_convertible(to_alias) ? to_alias : BaseNode() )
337  { }
static bool is_convertible(BaseNode const &other)
Definition: BFGTLUtilities.hpp:316
BaseNode(BFVOID)
Definition: BFGTLUtilities.cpp:364
template<class NodeT , NodeType NODE_TYPE>
BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::NodeImpT ( BaseNode &&  to_take)
inline
339  : BaseNode ( std::move(is_convertible(to_take) ? to_take : BaseNode()) )
340  { }
static bool is_convertible(BaseNode const &other)
Definition: BFGTLUtilities.hpp:316
BaseNode(BFVOID)
Definition: BFGTLUtilities.cpp:364

Member Function Documentation

template<class NodeT , NodeType NODE_TYPE>
static bool BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::is_convertible ( BaseNode const &  other)
inlinestatic

References BFGTLUtilities::Base, BFGTLUtilities::BaseNode::type(), BFGTLUtilities::Unknown, and BFGTLUtilities::Value.

317  {
318  const NodeType ot = other.type();
319  if (NodeType::Value == Type)
320  return NodeType::Unknown != ot && NodeType::Base != ot;
321  else
322  return Type == ot;
323  }
NodeType
Definition: BFGTLUtilities.hpp:206
static const NodeType Type
Definition: BFGTLUtilities.hpp:314
template<class NodeT , NodeType NODE_TYPE>
NodeImpT& BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::operator= ( BaseNode const &  to_alias)
inline
343  {
344  copy(to_alias);
345  return *this;
346  }
template<class NodeT , NodeType NODE_TYPE>
NodeImpT& BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::operator= ( BaseNode &&  to_take)
inline
349  {
350  copy( std::move(to_take) );
351  return *this;
352  }

Member Data Documentation

template<class NodeT , NodeType NODE_TYPE>
const NodeType BFGTLUtilities::PRIVATE_IMP::NodeImpT< NodeT, NODE_TYPE >::Type = NODE_TYPE
static

The documentation for this struct was generated from the following file: