#include <llsdserialize.h>
Inheritance diagram for LLSDNotationFormatter:


| Public Member Functions | |
| LLSDNotationFormatter () | |
| Constructor. | |
| virtual S32 | format (const LLSD &data, std::ostream &ostr, U32 options=LLSDFormatter::OPTIONS_NONE) const | 
| Call this method to format an LLSD to a stream. | |
| Static Public Member Functions | |
| static std::string | escapeString (const std::string &in) | 
| Helper static method to return a notation escaped string. | |
| Protected Member Functions | |
| virtual | ~LLSDNotationFormatter () | 
| Destructor. | |
Definition at line 351 of file llsdserialize.h.
| LLSDNotationFormatter::~LLSDNotationFormatter | ( | ) |  [protected, virtual] | 
| LLSDNotationFormatter::LLSDNotationFormatter | ( | ) | 
| std::string LLSDNotationFormatter::escapeString | ( | const std::string & | in | ) |  [static] | 
Helper static method to return a notation escaped string.
This method will return the notation escaped string, but not the surrounding serialization identifiers such as a double or single quote. It will be up to the caller to embed those as appropriate.
| in | The raw, unescaped string. | 
Definition at line 967 of file llsdserialize.cpp.
References serialize_string().
Referenced by LLFilterXMLRPCResponse2LLSD::process_impl(), and stream_out().
| S32 LLSDNotationFormatter::format | ( | const LLSD & | data, | |
| std::ostream & | ostr, | |||
| U32 | options = LLSDFormatter::OPTIONS_NONE | |||
| ) | const  [virtual] | 
Call this method to format an LLSD to a stream.
| data | The data to write. | |
| ostr | The destination stream for the data. | 
Implements LLSDFormatter.
Definition at line 975 of file llsdserialize.cpp.
References LLSD::asBinary(), LLSD::asBoolean(), LLSD::asDate(), LLSD::asInteger(), LLSD::asReal(), LLSD::asString(), LLSD::asUUID(), LLSD::beginArray(), LLSD::beginMap(), end, LLSD::endArray(), LLSD::endMap(), LLSDFormatter::formatReal(), LLSDFormatter::mBoolAlpha, LLSDFormatter::mRealFormat, NOTATION_FALSE_SERIAL(), NOTATION_TRUE_SERIAL(), S32, serialize_string(), LLSD::type(), LLSD::TypeArray, LLSD::TypeBinary, LLSD::TypeBoolean, LLSD::TypeDate, LLSD::TypeInteger, LLSD::TypeMap, LLSD::TypeReal, LLSD::TypeString, LLSD::TypeUndefined, LLSD::TypeURI, and LLSD::TypeUUID.
 1.4.7
 1.4.7