Template specialisation of JProxy for non-fundamental data type.  
 More...
#include <JParser.hh>
template<class T>
class JPARSER::JProxy< T, false >
Template specialisation of JProxy for non-fundamental data type. 
Definition at line 289 of file JParser.hh.
 
◆ JProxy() [1/2]
Constructor. 
- Parameters
 - 
  
    | option | textual value  | 
    | value | custom value  | 
  
   
Definition at line 299 of file JParser.hh.
 
 
◆ JProxy() [2/2]
Constructor. 
- Parameters
 - 
  
  
 
Definition at line 311 of file JParser.hh.
 
 
◆ getValue()
Get actual value. 
- Returns
 - value 
 
Definition at line 323 of file JParser.hh.
  325       return static_cast<const T&
>(*this);
 
 
 
 
◆ getOption()
Get option. 
- Returns
 - option 
 
Definition at line 334 of file JParser.hh.
 
 
◆ getCustom()
Get custom value. 
- Returns
 - value 
 
Definition at line 345 of file JParser.hh.
 
 
◆ operator=() [1/2]
Assignment operator. 
Note that only the actual value is assigned.
- Parameters
 - 
  
  
 
- Returns
 - this object 
 
Definition at line 359 of file JParser.hh.
  361       static_cast<T&
>(*this)  = 
static_cast<const T&
>(object);
 
 
 
 
◆ operator=() [2/2]
Assignment to a value. 
- Parameters
 - 
  
  
 
- Returns
 - this object 
 
Definition at line 373 of file JParser.hh.
  375       static_cast<T&
>(*this)  = value;
 
 
 
 
◆ operator>>
template<class T > 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JProxy< T, false > &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read option from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | option  | 
  
   
- Returns
 - input stream 
 
Definition at line 388 of file JParser.hh.
  398           static_cast<T&
>(object) = 
object.
__custom;
 
  402           istringstream is(buffer);
 
  404           is >> 
static_cast<T&
>(object);
 
  406           in.setstate(is.rdstate());
 
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
 
 
 
 
◆ operator<<
template<class T > 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JProxy< T, false > &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write options to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | option  | 
  
   
- Returns
 - output stream 
 
Definition at line 421 of file JParser.hh.
  423       return out << static_cast<const T&>(
object);
 
 
 
 
◆ __option
◆ __custom
The documentation for this class was generated from the following file: