#include <yocto_api.h>
Public Member Functions | |
string | getString () |
virtual int | parse () |
void | setContent (const string &value) |
virtual string | toJSON () |
virtual string | toString () |
YJSONString (const string &data, int start, int stop) | |
YJSONString (YJSONString *ref) | |
YJSONString () | |
virtual | ~YJSONString () |
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 | |
string | _stringValue |
Additional Inherited Members | |
Static Public Member Functions inherited from YJSONContent | |
static YJSONContent * | ParseJson (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 |
Definition at line 365 of file yocto_api.h.
YJSONString::YJSONString | ( | const string & | data, |
int | start, | ||
int | stop | ||
) |
Definition at line 382 of file yocto_api.cpp.
YJSONString::YJSONString | ( | YJSONString * | ref | ) |
Definition at line 388 of file yocto_api.cpp.
YJSONString::YJSONString | ( | ) |
Definition at line 385 of file yocto_api.cpp.
|
inlinevirtual |
Definition at line 373 of file yocto_api.h.
string YJSONString::getString | ( | ) |
Definition at line 475 of file yocto_api.cpp.
|
virtual |
Implements YJSONContent.
Definition at line 393 of file yocto_api.cpp.
void YJSONString::setContent | ( | const string & | value | ) |
Definition at line 485 of file yocto_api.cpp.
|
virtual |
Implements YJSONContent.
Definition at line 435 of file yocto_api.cpp.
|
virtual |
Implements YJSONContent.
Definition at line 480 of file yocto_api.cpp.
|
private |
Definition at line 367 of file yocto_api.h.