#include <BFGTLUtilities.hpp>
      
        
          | BFVOID PRIVATE_IMP::ValueNodeBase::fromString  | 
          ( | 
          std::string const &  | 
          strVal | ) | 
           | 
        
      
 
Set the node value as a string.
- Exceptions
 - 
  
    | BFCiException | - Thrown if the node value cannot be set from the given string.  | 
  
   
References BFCiException::check().
  731     BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeWrite(*
m_pd->m_nodePtr, BFGTL_NODE_VALUE_STR, strVal.c_str(), strVal.length()) );
 
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
 
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
 
 
 
 
      
        
          | BFVOID PRIVATE_IMP::ValueNodeBase::fromString  | 
          ( | 
          const BFCHAR *const  | 
          strVal | ) | 
           | 
        
      
 
Set the node value as a string.
- Exceptions
 - 
  
    | BFCiException | - Thrown if the node value cannot be set from the given string.  | 
  
   
  741     const std::string cppStrVal (strVal);
 
BFVOID fromString(std::string const &strVal)
Definition: BFGTLUtilities.cpp:729
 
 
 
 
      
        
          | bool PRIVATE_IMP::ValueNodeBase::getToString  | 
          ( | 
          BFCHAR *const  | 
          hBuf,  | 
        
        
           | 
           | 
          BFSIZET *const  | 
          pSize  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
Get the node value as a string.
- 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
 - 
  
  
 
  721     return BufInHelpers::set_str(
toString(), hBuf, pSize);
 
std::string toString(BFVOID) const 
Definition: BFGTLUtilities.cpp:697
 
 
 
 
      
        
          | std::string PRIVATE_IMP::ValueNodeBase::toString  | 
          ( | 
          BFVOID  | 
           | ) | 
           const | 
        
      
 
Get the node value as a string.
- Returns
 - A string representation of the node value.
 
- Exceptions
 - 
  
    | BFCiException | - Thrown if the node value string cannot be determined.  | 
  
   
References BFCiException::check(), and BFGTLUtilities::BaseNode::m_pd.
  702     std::vector<char> cData (iSize);
 
  703     BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeRead(*
m_pd->m_nodePtr, BFGTL_NODE_VALUE_STR, cData.data(), &iSize) );
 
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
 
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
 
 
 
 
The documentation for this struct was generated from the following files: