#include <BFGTLUtilities.hpp>
 | 
| typedef std::string  | Value | 
|   | 
      
        
          | bool PRIVATE_IMP::StringNodeBase::getValue  | 
          ( | 
          BFCHAR *const  | 
          hBuf,  | 
        
        
           | 
           | 
          BFSIZET *const  | 
          pSize  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
Get the string node value.
- 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
 - 
  
  
 
  978     return BufInHelpers::set_str(
value(), hBuf, pSize);
 
Value value(BFVOID) const 
Definition: BFGTLUtilities.cpp:955
 
 
 
 
      
        
          | BFS64 PRIVATE_IMP::StringNodeBase::max_length  | 
          ( | 
          BFVOID  | 
           | ) | 
           const | 
        
      
 
Get the maximum string length in characters that this string node may represent.
- Returns
 - The maximum string length in characters that this string node may represent.
 
- Exceptions
 - 
  
    | BFCiException | - Thrown if the node's max_length value couldn't be retrieved.  | 
  
   
References BFCiException::check().
  991     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
 
 
 
 
      
        
          | BFVOID PRIVATE_IMP::StringNodeBase::setValue  | 
          ( | 
          Value const &  | 
          val | ) | 
           | 
        
      
 
Set the value of the string node. The input string value length in characters may not exceed max_length.
- Exceptions
 - 
  
  
 
References BFCiException::check().
 1004     BFCiException::check((*m_pd)->m_hBoard, BFGTLNodeWrite(*
m_pd->m_nodePtr, BFGTL_NODE_VALUE, val.c_str(), val.length()) );
 
PrivateData * m_pd
Definition: BFGTLUtilities.hpp:304
 
static void check(Bd hBoard, const BFU32 error)
Definition: BFException.cpp:212
 
 
 
 
      
        
          | BFVOID PRIVATE_IMP::StringNodeBase::setValue  | 
          ( | 
          const BFCHAR *const  | 
          val | ) | 
           | 
        
      
 
Set the value of the string node. The input string value length in characters may not exceed max_length.
- Exceptions
 - 
  
  
 
 1015     const std::string cppVal (val);
 
BFVOID setValue(Value const &val)
Definition: BFGTLUtilities.cpp:1002
 
 
 
 
Get the string node value.
- Returns
 - The string value of the node.
 
- Exceptions
 - 
  
  
 
References BFCiException::check().
  960     std::vector<char> iVal (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: