#include <llsdserialize.h>
| Public Types | |
| LLSD_BINARY | |
| LLSD_XML | |
| enum | ELLSD_Serialize { LLSD_BINARY, LLSD_XML } | 
| Static Public Member Functions | |
| static void | serialize (const LLSD &sd, std::ostream &str, ELLSD_Serialize, U32 options=LLSDFormatter::OPTIONS_NONE) | 
| static bool | deserialize (LLSD &sd, std::istream &str) | 
| static S32 | toNotation (const LLSD &sd, std::ostream &str) | 
| static S32 | fromNotation (LLSD &sd, std::istream &str) | 
| static S32 | toXML (const LLSD &sd, std::ostream &str) | 
| static S32 | toPrettyXML (const LLSD &sd, std::ostream &str) | 
| static S32 | fromXML (LLSD &sd, std::istream &str) | 
| static S32 | toBinary (const LLSD &sd, std::ostream &str) | 
| static S32 | fromBinary (LLSD &sd, std::istream &str) | 
| Static Private Attributes | |
| static const char * | LLSDBinaryHeader = "LLSD/Binary" | 
| static const char * | LLSDXMLHeader = "LLSD/XML" | 
Definition at line 549 of file llsdserialize.h.
| bool LLSDSerialize::deserialize | ( | LLSD & | sd, | |
| std::istream & | str | |||
| ) |  [static] | 
Definition at line 97 of file llsdserialize.cpp.
References end, i, LEGACY_NON_HEADER, llendl, LLSDBinaryHeader, LLSDXMLHeader, llwarns, MAX_HDR_LEN, NULL, p, tut::sd(), start, and x.
Definition at line 572 of file llsdserialize.h.
Referenced by LLFloaterSnapshot::Impl::onCommitResolution(), LLSDRPCServer::process_impl(), LLSDRPCClient::process_impl(), LLFilterSD2XMLRPCRequest::process_impl(), and LLFilterSD2XMLRPCResponse::process_impl().
Definition at line 591 of file llsdserialize.h.
Referenced by LLHTTPBuffer::asLLSD(), LLHTTPClient::Responder::completedRaw(), LLViewerImageList::doPrefetchImages(), LLInventoryView::init(), LLMessageConfigFile::loadFile(), LLLiveAppConfig::loadFile(), and LLServiceBuilder::loadServiceDefinitionsFromFile().
| void LLSDSerialize::serialize | ( | const LLSD & | sd, | |
| std::ostream & | str, | |||
| ELLSD_Serialize | , | |||
| U32 | options = LLSDFormatter::OPTIONS_NONE | |||
| ) |  [static] | 
Definition at line 70 of file llsdserialize.cpp.
References f, llendl, LLSD_BINARY, LLSD_XML, LLSDBinaryHeader, LLSDXMLHeader, llwarns, NULL, and tut::sd().
Referenced by send_group_notice().
Definition at line 600 of file llsdserialize.h.
References f, LLSDFormatter::OPTIONS_NONE, and tut::sd().
Definition at line 567 of file llsdserialize.h.
References f, LLSDFormatter::OPTIONS_NONE, and tut::sd().
Referenced by LLSDRPCServer::buildResponse(), and LLSDRPCClient::call().
Definition at line 586 of file llsdserialize.h.
References f, LLSDFormatter::OPTIONS_PRETTY, and tut::sd().
Referenced by LLViewerImageList::shutdown(), tut::LLMessageConfigTestData::writeConfigFile(), and LLInventoryView::~LLInventoryView().
Definition at line 581 of file llsdserialize.h.
References f, LLSDFormatter::OPTIONS_NONE, and tut::sd().
Referenced by upload_new_resource().
| const char * LLSDSerialize::LLSDBinaryHeader = "LLSD/Binary"  [static, private] | 
| const char * LLSDSerialize::LLSDXMLHeader = "LLSD/XML"  [static, private] | 
 1.4.7
 1.4.7