Live2D  Version 2.0
Live2D rendering engine API reference
 All Classes Namespaces Functions
String Class Reference

#include <Json.h>

Inheritance diagram for String:
Value LDObject Error

Public Member Functions

 String (MemoryParam *memParam, const live2d::LDString &s)
 
 String (MemoryParam *memParam, const char *s)
 
virtual bool isString ()
 
virtual live2d::LDString toString (const live2d::LDString &defaultV="", const live2d::LDString &indent="") const
 
virtual bool equals (const live2d::LDString &v)
 
virtual bool equals (const char *v)
 
virtual bool equals (int v)
 
virtual bool equals (double v)
 
virtual bool equals (bool v)
 
- Public Member Functions inherited from Value
 Value (MemoryParam *memParam)
 
virtual const char * c_str (const live2d::LDString &defaultV="", const live2d::LDString &indent="")
 
virtual int toInt (int defaultV=0)
 
virtual double toDouble (double defaultV=0)
 
virtual bool toBoolean (bool defaultV=false)
 
virtual int size ()
 
virtual LDVector< Value * > * getVector (LDVector< Value * > *defaultV=NULL)
 
virtual l2d_map
< live2d::LDString, Value * > * 
getMap (l2d_map< live2d::LDString, Value * > *defaultV=NULL)
 
virtual Valueoperator[] (int index)
 
virtual Valueoperator[] (const live2d::LDString &s)
 
virtual LDVector
< live2d::LDString > & 
getKeys ()
 
virtual bool isError ()
 
virtual bool isNull ()
 
virtual bool isBool ()
 
virtual bool isDouble ()
 
virtual bool isArray ()
 
virtual bool isMap ()
 
virtual bool isStatic ()
 
virtual ValuesetError_notForClientCall (const char *errorStr)
 

Protected Attributes

live2d::LDString str
 
- Protected Attributes inherited from Value
MemoryParam * memParam
 

Additional Inherited Members

- Static Public Member Functions inherited from Value
static void staticInit_notForClientCall ()
 
static void staticRelease_notForClientCall ()
 
- Static Public Member Functions inherited from LDObject
static void * operator new (l2d_size_t size)
 
static void operator delete (void *ptr)
 
static void * operator new[] (l2d_size_t size)
 
static void operator delete[] (void *ptr)
 
static void * operator new (l2d_size_t size, void *ptr)
 
static void operator delete (void *ptr, void *ptr2)
 
static void * operator new (l2d_size_t size, MemoryParam *memParam)
 
static void operator delete (void *ptr, MemoryParam *memParam)
 
static void * operator new (l2d_size_t size, MemoryParam *memParam, const char *filename, int line)
 
static void operator delete (void *ptr, MemoryParam *memParam, const char *filename, int line)
 
- Static Public Attributes inherited from Value
static ValueERROR_VALUE = NULL
 
static ValueNULL_VALUE = NULL
 
- Static Public Attributes inherited from LDObject
static int object_instanceCount = 0
 
static int object_totalCount = 0
 

Detailed Description



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