ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
adjson::json Class Reference

#include <adjson.h>

Public Member Functions

 json ()
 
 json (const json &other)
 
virtual ~json ()
 
valueget_value () const
 
valueparse (istream &input)
 
void set (value *other)
 
std::string str () const
 

Private Attributes

value_value
 

Detailed Description

Definition at line 39 of file adjson.h.

Constructor & Destructor Documentation

adjson::json::json ( )
inline

Definition at line 44 of file adjson.h.

adjson::json::json ( const json other)
inline

Definition at line 45 of file adjson.h.

virtual adjson::json::~json ( )
inlinevirtual

Definition at line 46 of file adjson.h.

Member Function Documentation

value* adjson::json::get_value ( void  ) const
inline

Definition at line 58 of file adjson.h.

value * adjson::json::parse ( istream &  input)

Definition at line 25 of file adjson.cpp.

Referenced by operator>>().

void adjson::json::set ( value other)
inline

Definition at line 61 of file adjson.h.

Referenced by operator>>().

std::string adjson::json::str ( ) const
inline

Definition at line 55 of file adjson.h.

Referenced by operator<<(), and parse().

Member Data Documentation

value* adjson::json::_value
private

Definition at line 41 of file adjson.h.

Referenced by get_value(), set(), str(), and ~json().


The documentation for this class was generated from the following files: