Public Member Functions | Private Attributes | List of all members
YJSONArray Class Reference

#include <yocto_api.h>

Inheritance diagram for YJSONArray:
Inheritance graph
[legend]

Public Member Functions

YJSONContentget (int i)
 
int getInt (int i)
 
s64 getLong (int i)
 
string getString (int i)
 
YJSONArraygetYJSONArray (int i)
 
YJSONObjectgetYJSONObject (int i)
 
int length ()
 
virtual int parse ()
 
void put (const string &flatAttr)
 
virtual string toJSON ()
 
virtual string toString ()
 
 YJSONArray (const string &data, int start, int stop)
 
 YJSONArray (const string &data)
 
 YJSONArray (YJSONArray *ref)
 
 YJSONArray ()
 
virtual ~YJSONArray ()
 
- Public Member Functions inherited from YJSONContent
string FormatError (const string &errmsg, int cur_pos)
 
YJSONType getJSONType ()
 
 YJSONContent (const string &data, int start, int stop, YJSONType type)
 
 YJSONContent (YJSONContent *ref)
 
 YJSONContent (YJSONType type)
 
virtual ~YJSONContent ()
 

Private Attributes

vector< YJSONContent * > _arrayValue
 

Additional Inherited Members

- Static Public Member Functions inherited from YJSONContent
static YJSONContentParseJson (const string &data, int start, int stop)
 
static int SkipGarbage (const string &data, int start, int stop)
 
- Public Attributes inherited from YJSONContent
string _data
 
int _data_boundary
 
int _data_len
 
int _data_start
 
YJSONType _type
 

Detailed Description

Definition at line 343 of file yocto_api.h.

Constructor & Destructor Documentation

YJSONArray::YJSONArray ( const string &  data,
int  start,
int  stop 
)

Definition at line 182 of file yocto_api.cpp.

YJSONArray::YJSONArray ( const string &  data)
YJSONArray::YJSONArray ( YJSONArray ref)

Definition at line 189 of file yocto_api.cpp.

YJSONArray::YJSONArray ( )

Definition at line 186 of file yocto_api.cpp.

YJSONArray::~YJSONArray ( )
virtual

Definition at line 223 of file yocto_api.cpp.

Member Function Documentation

YJSONContent * YJSONArray::get ( int  i)

Definition at line 320 of file yocto_api.cpp.

int YJSONArray::getInt ( int  i)

Definition at line 330 of file yocto_api.cpp.

s64 YJSONArray::getLong ( int  i)

Definition at line 335 of file yocto_api.cpp.

string YJSONArray::getString ( int  i)

Definition at line 314 of file yocto_api.cpp.

YJSONArray * YJSONArray::getYJSONArray ( int  i)

Definition at line 325 of file yocto_api.cpp.

YJSONObject * YJSONArray::getYJSONObject ( int  i)

Definition at line 309 of file yocto_api.cpp.

int YJSONArray::length ( )

Definition at line 231 of file yocto_api.cpp.

int YJSONArray::parse ( )
virtual

Implements YJSONContent.

Definition at line 236 of file yocto_api.cpp.

void YJSONArray::put ( const string &  flatAttr)

Definition at line 341 of file yocto_api.cpp.

string YJSONArray::toJSON ( )
virtual

Implements YJSONContent.

Definition at line 348 of file yocto_api.cpp.

string YJSONArray::toString ( )
virtual

Implements YJSONContent.

Definition at line 364 of file yocto_api.cpp.

Member Data Documentation

vector<YJSONContent*> YJSONArray::_arrayValue
private

Definition at line 345 of file yocto_api.h.


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


yoctopuce_altimeter
Author(s): Anja Sheppard
autogenerated on Mon Jun 10 2019 15:49:13