Simulant  21.12-166
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Friends | List of all members
smlt::JSONNode Class Reference

Public Member Functions

 JSONNode (_json_impl::IStreamPtr stream, std::streampos start, std::streampos end, std::size_t size=0)
 
std::streampos start () const
 
std::streampos end () const
 
JSONNodeType type () const
 
std::size_t size () const
 
bool has_key (const std::string &key) const
 
std::vector< std::string > keys () const
 
bool is_value_type () const
 
bool is_bool () const
 
bool is_str () const
 
bool is_number () const
 
bool is_array () const
 
bool is_object () const
 
bool is_null () const
 
optional< std::string > to_str () const
 
optional< int64_t > to_int () const
 
optional< float > to_float () const
 
optional< bool > to_bool () const
 
JSONIterator to_iterator () const
 

Friends

class JSONIterator
 

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