#include <llsd.h>
Type Testing | |
enum | Type { TypeUndefined, TypeBoolean, TypeInteger, TypeReal, TypeString, TypeUUID, TypeDate, TypeURI, TypeBinary, TypeMap, TypeArray } |
Type | type () const |
bool | isUndefined () const |
bool | isDefined () const |
bool | isBoolean () const |
bool | isInteger () const |
bool | isReal () const |
bool | isString () const |
bool | isUUID () const |
bool | isDate () const |
bool | isURI () const |
bool | isBinary () const |
bool | isMap () const |
bool | isArray () const |
Scalar Types | |
The scalar types, and how they map onto C++ | |
typedef bool | Boolean |
typedef S32 | Integer |
typedef F64 | Real |
typedef std::string | String |
typedef LLUUID | UUID |
typedef LLDate | Date |
typedef LLURI | URI |
typedef std::vector< U8 > | Binary |
Iterators | |
typedef std::map< String, LLSD > ::iterator | map_iterator |
typedef std::map< String, LLSD > ::const_iterator | map_const_iterator |
typedef std::vector< LLSD > ::iterator | array_iterator |
typedef std::vector< LLSD > ::const_iterator | array_const_iterator |
int | size () const |
map_iterator | beginMap () |
map_iterator | endMap () |
map_const_iterator | beginMap () const |
map_const_iterator | endMap () const |
array_iterator | beginArray () |
array_iterator | endArray () |
array_const_iterator | beginArray () const |
array_const_iterator | endArray () const |
Implementation | |
Impl * | impl |
Copyable and Assignable | |
LLSD (const LLSD &) | |
void | assign (const LLSD &other) |
LLSD & | operator= (const LLSD &other) |
Scalar Constructors | |
LLSD (Boolean) | |
LLSD (Integer) | |
LLSD (Real) | |
LLSD (const String &) | |
LLSD (const UUID &) | |
LLSD (const Date &) | |
LLSD (const URI &) | |
LLSD (const Binary &) | |
Convenience Constructors | |
LLSD (F32) | |
Scalar Assignment | |
void | assign (Boolean) |
void | assign (Integer) |
void | assign (Real) |
void | assign (const String &) |
void | assign (const UUID &) |
void | assign (const Date &) |
void | assign (const URI &) |
void | assign (const Binary &) |
LLSD & | operator= (Boolean v) |
LLSD & | operator= (Integer v) |
LLSD & | operator= (Real v) |
LLSD & | operator= (const String &v) |
LLSD & | operator= (const UUID &v) |
LLSD & | operator= (const Date &v) |
LLSD & | operator= (const URI &v) |
LLSD & | operator= (const Binary &v) |
Scalar Accessors | |
Fetch a scalar value, converting if needed and possible Conversion among the basic types, Boolean, Integer, Real and String, is fully defined. Each type can be converted to another with a reasonable interpretation. These conversions can be used as a convenience even when you know the data is in one format, but you want it in another. Of course, many of these conversions lose information. Note: These conversions are not the same as Perl's. In particular, when converting a String to a Boolean, only the empty string converts to false. Converting the String "0" to Boolean results in true. Conversion to and from UUID, Date, and URI is only defined to and from String. Conversion is defined to be information preserving for valid values of those types. These conversions can be used when one needs to convert data to or from another system that cannot handle these types natively, but can handle strings. Conversion to and from Binary isn't defined.
Conversion of the Undefined value to any scalar type results in a reasonable null or zero value for the type. | |
Boolean | asBoolean () const |
Integer | asInteger () const |
Real | asReal () const |
String | asString () const |
UUID | asUUID () const |
Date | asDate () const |
URI | asURI () const |
Binary | asBinary () const |
operator Boolean () const | |
operator Integer () const | |
operator Real () const | |
operator String () const | |
operator UUID () const | |
operator Date () const | |
operator URI () const | |
operator Binary () const | |
bool | operator! () const |
Character Pointer Helpers | |
These are helper routines to make working with char* the same as easy as working with strings. | |
LLSD (const char *) | |
void | assign (const char *) |
LLSD & | operator= (const char *v) |
Map Values | |
bool | has (const String &) const |
LLSD | get (const String &) const |
void | insert (const String &, const LLSD &) |
void | erase (const String &) |
LLSD & | operator[] (const String &) |
LLSD & | operator[] (const char *c) |
const LLSD & | operator[] (const String &) const |
const LLSD & | operator[] (const char *c) const |
static LLSD | emptyMap () |
Array Values | |
LLSD | get (Integer) const |
void | set (Integer, const LLSD &) |
void | insert (Integer, const LLSD &) |
void | append (const LLSD &) |
void | erase (Integer) |
const LLSD & | operator[] (Integer) const |
LLSD & | operator[] (Integer) |
static LLSD | emptyArray () |
Automatic Cast Protection | |
These are not implemented on purpose. Without them, C++ can perform some conversions that are clearly not what the programmer intended. If you get a linker error about these being missing, you have made mistake in your code. DO NOT IMPLEMENT THESE FUNCTIONS as a fix.
All of thse problems stem from trying to support char* in LLSD or in std::string. There are too many automatic casts that will lead to using an arbitrary pointer or scalar type to std::string. | |
LLSD (const void *) | |
construct from aribrary pointers | |
void | assign (const void *) |
assign from arbitrary pointers | |
LLSD & | operator= (const void *) |
assign from arbitrary pointers | |
bool | has (Integer) const |
has only works for Maps | |
Unit Testing Interface | |
static U32 | allocationCount () |
how many Impls have been made | |
static U32 | outstandingCount () |
how many Impls are still alive | |
Debugging Interface | |
static const char * | dumpXML (const LLSD &llsd) |
Returns XML version of llsd -- only to be called from debugger. | |
static const char * | dump (const LLSD &llsd) |
Returns Notation version of llsd -- only to be called from debugger. | |
Public Member Functions | |
LLSD () | |
initially Undefined | |
~LLSD () | |
this class may NOT be subclassed | |
void | clear () |
resets to Undefined | |
Classes | |
class | Impl |
Data in such exchanges must be highly tollerant of changes on either side such as:
To this aim, the C++ API of LLSD strives to be very easy to use, and to default to "the right thing" whereever possible. It is extremely tollerant of errors and unexpected situations.
The fundimental class is LLSD. LLSD is a value holding object. It holds one value that is either undefined, one of the scalar types, or a map or an array. LLSD objects have value semantics (copying them copies the value, though it can be considered efficient, due to shareing.), and mutable.
Undefined is the singular value given to LLSD objects that are not initialized with any data. It is also used as the return value for operations that return an LLSD,
The sclar data types are:
A map is a dictionary mapping String keys to LLSD values. The keys are unique within a map, and have only one value (though that value could be an LLSD array).
An array is a sequence of zero or more LLSD values.
Definition at line 91 of file llsd.h.
typedef bool LLSD::Boolean |
typedef S32 LLSD::Integer |
typedef F64 LLSD::Real |
typedef std::string LLSD::String |
typedef LLUUID LLSD::UUID |
typedef LLDate LLSD::Date |
typedef std::vector<U8> LLSD::Binary |
typedef std::map<String, LLSD>::iterator LLSD::map_iterator |
typedef std::map<String, LLSD>::const_iterator LLSD::map_const_iterator |
typedef std::vector<LLSD>::iterator LLSD::array_iterator |
typedef std::vector<LLSD>::const_iterator LLSD::array_const_iterator |
enum LLSD::Type |
LLSD::~LLSD | ( | ) |
this class may NOT be subclassed
Definition at line 677 of file llsd.cpp.
References impl, and LLSD::Impl::reset().
LLSD::LLSD | ( | const LLSD & | other | ) |
LLSD::LLSD | ( | Boolean | v | ) |
LLSD::LLSD | ( | Integer | v | ) |
LLSD::LLSD | ( | Real | v | ) |
LLSD::LLSD | ( | const String & | v | ) |
LLSD::LLSD | ( | const UUID & | v | ) |
LLSD::LLSD | ( | const Date & | v | ) |
LLSD::LLSD | ( | const URI & | v | ) |
LLSD::LLSD | ( | const Binary & | v | ) |
LLSD::LLSD | ( | F32 | v | ) |
LLSD::LLSD | ( | const char * | v | ) |
LLSD::LLSD | ( | const void * | ) |
construct from aribrary pointers
void LLSD::assign | ( | const LLSD & | other | ) |
Definition at line 680 of file llsd.cpp.
References LLSD::Impl::assign(), and impl.
Referenced by assign(), LLSD(), operator=(), LLApp::parseCommandOptions(), and setControlValueCB().
void LLSD::clear | ( | ) |
resets to Undefined
Definition at line 683 of file llsd.cpp.
References LLSD::Impl::assignUndefined(), and impl.
Referenced by LLFloaterTopObjects::clearList(), deserialize_boolean(), LLSDBinaryParser::doParse(), LLSDNotationParser::doParse(), tut::TestLLSDSerializeData::doRoundTripTests(), LLSDXMLParser::Impl::endElementHandler(), tut::HTTPNodeTestData::ensureRootTraversal(), LLSDRPCResponse::extractResponse(), tut::HTTPNodeTestData::get(), tut::HTTPClientTestData::newResult(), LLInventoryModel::fetchDescendentsResponder::onClickRetry(), LLSDNotationParser::parseMap(), tut::HTTPNodeTestData::post(), LLSDRPCServer::process_impl(), LLSDXMLParser::Impl::reset(), and LLIMInfo::unpackMessageBlock().
void LLSD::assign | ( | Boolean | v | ) |
Definition at line 701 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
void LLSD::assign | ( | Integer | v | ) |
Definition at line 702 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
void LLSD::assign | ( | Real | v | ) |
Definition at line 703 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
void LLSD::assign | ( | const String & | v | ) |
Definition at line 704 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
void LLSD::assign | ( | const UUID & | v | ) |
Definition at line 705 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
void LLSD::assign | ( | const Date & | v | ) |
Definition at line 706 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
void LLSD::assign | ( | const URI & | v | ) |
Definition at line 707 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
void LLSD::assign | ( | const Binary & | v | ) |
Definition at line 708 of file llsd.cpp.
References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().
LLSD::Boolean LLSD::asBoolean | ( | ) | const |
Definition at line 711 of file llsd.cpp.
References LLSD::Impl::asBoolean(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLPrefsIMImpl::apply(), LLPostProcess::applyShaders(), tut::checkConversions(), LLPanelEstateInfo::commitEstateInfoCaps(), LLFloaterTexturePicker::commitIfImmediateSet(), LLControlGroupCLP::configure(), LLView::controlListener(), LLMakeOutfitDialog::draw(), tut::ensure_equals(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLCheckBoxCtrl::fromXML(), LLCheckBoxCtrl::get(), LLControlGroup::getBOOL(), LLWLParamSet::getEnableCloudScrollX(), LLWLParamSet::getEnableCloudScrollY(), LLFloaterTexturePicker::getFilterPermMask(), LLPanelEstateInfo::getFixedSun(), LLFloaterChatterBox::getFloater(), LLPanelEstateInfo::getGlobalTime(), LLMakeOutfitDialog::getIncludedItems(), LLPanelRegionTools::getRegionFlags(), LLPanelRegionTools::getRegionFlagsMask(), LLMakeOutfitDialog::getRenameClothing(), LLMessageConfig::getSenderTrustedness(), handleAudioStreamMusicChanged(), handleDebugViewsChanged(), handleRenderAvatarMouselookChanged(), handleRenderDebugGLChanged(), handleRenderDebugPipelineChanged(), handleRenderDynamicLODChanged(), handleRenderUseFBOChanged(), handleRenderUseVBOChanged(), handleRotateNetMapChanged(), handleShowXUINamesChanged(), handleUseOcclusionChanged(), LLScrollListColumn::LLScrollListColumn(), LLControlVariable::llsd_compare(), LLPanelDirFind::navigateToDefaultPage(), LLFloaterAnimPreview::onBtnStop(), LLPanelEstateInfo::onChangeFixedSun(), LLPanelRegionTerrainInfo::onChangeUseEstateTime(), LLPanelEstateInfo::onChangeUseGlobalTime(), LLScriptEdCore::onCheckLock(), LLFloaterAnimPreview::onCommitLoop(), LLMessageConfig::onlySendLatest(), operator Boolean(), operator!(), llsd_select_bool::operator()(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLViewerChatterBoxSessionEventReply::post(), LLViewerChatterBoxSessionStartReply::post(), LLAgentGroupDataUpdateViewerNode::post(), LLPanelEstateInfo::refresh(), LLPanelLandAccess::refresh_ui(), LLFloaterBuyLandUI::runWebSitePrep(), LLPanelDirPlaces::search(), LLPanelDirGroups::search(), LLPanelDirFindAll::search(), LLSavedSettingsGlue::setBOOL(), LLMessageSystem::setMessageBans(), LLRadioCtrl::setValue(), LLMenuItemCheckGL::setValue(), LLButton::setValue(), LLPostProcess::shadersEnabled(), LLFilterSD2XMLRPC::streamOut(), LLPermissions::unpackMessage(), LLFloaterSettingsDebug::updateControl(), LLFloaterSnapshot::Impl::updateLayout(), and LLLogImpl::useLegacyLogMessage().
LLSD::Integer LLSD::asInteger | ( | ) | const |
Definition at line 712 of file llsd.cpp.
References LLSD::Impl::asInteger(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLFloaterHardwareSettings::apply(), tut::checkConversions(), LLControlGroupCLP::configure(), LLMimeIndex::contentLength(), LLSDXMLParser::Impl::endElementHandler(), tut::ensure_equals(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLPanelRegionTools::getEstateID(), LLPanelRegionTools::getGridPosX(), LLPanelRegionTools::getGridPosY(), LLSDMessageReader::getIPPort(), LLPanelRegionTools::getParentEstateID(), LLPanelRegionTools::getRedirectGridX(), LLPanelRegionTools::getRedirectGridY(), LLSDMessageReader::getS16(), LLControlGroup::getS32(), LLSDMessageReader::getS8(), LLPanelLogin::getServer(), LLSDMessageReader::getU16(), LLControlGroup::getU32(), LLSDMessageReader::getU8(), LLEventHandler::handle(), LLChatHandler::handle(), handleChatFontSizeChanged(), handleCompositeLimitChanged(), handleConsoleMaxLinesChanged(), LLObjectAttachToAvatar::handleEvent(), handleMaxPartCountChanged(), handleNumpadControlChanged(), handleRenderLightingDetailChanged(), handleTerrainDetailChanged(), handleVideoMemoryChanged(), idle_startup(), LLScrollListColumn::LLScrollListColumn(), LLControlVariable::llsd_compare(), llsd_to_im_info(), LLControlGroup::loadFromFile(), LLMessageConfigFile::loadMaxQueuedEvents(), LLFloaterSettingsDebug::onCommitSettings(), LLPrefsVoiceLogic::onEarLocationCommit(), operator Integer(), llsd_select_integer::operator()(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLViewerRequiredVoiceVersion::post(), CoarseLocationUpdate::post(), LLFilterSD2XMLRPCResponse::process_impl(), LLMetricsImpl::recordEvent(), LLClassifiedStatsResponder::result(), LLMimeParser::Impl::scanPastContent(), LLSavedSettingsGlue::setS32(), LLSavedSettingsGlue::setU32(), LLTabContainer::setValue(), LLScrollbar::setValue(), LLRadioGroup::setValue(), LLColor4U::setValue(), LLRectBase< float >::setValue(), LLDebugVarMessageBox::slider_changed(), LLFilterSD2XMLRPC::streamOut(), LLFloaterReporter::validateReport(), and LLFloaterMyFriends::visible().
LLSD::Real LLSD::asReal | ( | ) | const |
Definition at line 713 of file llsd.cpp.
References LLSD::Impl::asReal(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLPanelDisplay::applyResolution(), tut::checkConversions(), commit_slider_zoom(), LLFloaterWorldMap::draw(), LLSDXMLParser::Impl::endElementHandler(), tut::ensure_equals(), LLSpinCtrl::forceSetValue(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLSpinCtrl::get(), LLPanelRegionTools::getBillableFactor(), LLPostProcess::PostProcessTweaks::getBloomStrength(), LLPostProcess::PostProcessTweaks::getBloomWidth(), LLPostProcess::PostProcessTweaks::getBrightMult(), LLPostProcess::PostProcessTweaks::getBrightness(), LLWLParamSet::getCloudScrollX(), LLWLParamSet::getCloudScrollY(), LLPostProcess::PostProcessTweaks::getContrast(), LLPostProcess::PostProcessTweaks::getContrastBaseB(), LLPostProcess::PostProcessTweaks::getContrastBaseG(), LLPostProcess::PostProcessTweaks::getContrastBaseIntensity(), LLPostProcess::PostProcessTweaks::getContrastBaseR(), LLWLParamSet::getEastAngle(), LLPostProcess::PostProcessTweaks::getExtractHigh(), LLPostProcess::PostProcessTweaks::getExtractLow(), LLControlGroup::getF32(), LLSDMessageReader::getF32(), LLWLParamSet::getFloat(), LLWaterParamSet::getFloat(), LLPostProcess::PostProcessTweaks::getNoiseSize(), LLPostProcess::PostProcessTweaks::getNoiseStrength(), LLPostProcess::PostProcessTweaks::getSaturation(), LLMultiSlider::getSliderValue(), LLWLParamSet::getStarBrightness(), LLWLParamSet::getSunAngle(), LLPanelEstateInfo::getSunHour(), handleAvatarLODChanged(), handleBandwidthChanged(), handleChatPersistTimeChanged(), handleFlexLODChanged(), handleFogRatioChanged(), handleGammaChanged(), handleRenderFarClipChanged(), LLFloaterWorldMap::handleScrollWheel(), handleTerrainLODChanged(), handleTreeLODChanged(), handleVolumeLODChanged(), ll_vector3d_from_sd(), LLScrollListColumn::LLScrollListColumn(), LLControlVariable::llsd_compare(), LLWLParamSet::mix(), LLFloaterAnimPreview::onBtnStop(), LLFloaterSnapshot::Impl::onCommitCustomResolution(), LLFloaterAnimPreview::onCommitEaseIn(), LLFloaterAnimPreview::onCommitEaseOut(), LLFloaterAnimPreview::onCommitLoop(), LLFloaterAnimPreview::onCommitLoopIn(), LLFloaterAnimPreview::onCommitLoopOut(), LLFloaterAnimPreview::onCommitPriority(), LLFloaterSnapshot::Impl::onCommitQuality(), LLFloaterSettingsDebug::onCommitSettings(), LLFloaterAnimPreview::onSliderMove(), LLScrollingPanelParam::onSliderMoved(), LLFloaterColorPicker::onTextEntryChanged(), LLFloaterDayCycle::onTimeRateChanged(), LLFloaterIMPanel::onVolumeChange(), LLPanelActiveSpeakers::onVolumeChange(), operator Real(), llsd_select_float::operator()(), llsd_select_real::operator()(), LLPanelVoiceDeviceSettings::refresh(), LLPanelRegionGeneralInfo::sendUpdate(), LLSavedSettingsGlue::setF32(), LLSpinCtrl::setMaxValue(), LLSliderCtrl::setMaxValue(), LLSlider::setMaxValue(), LLMultiSliderCtrl::setMaxValue(), LLMultiSlider::setMaxValue(), LLSpinCtrl::setMinValue(), LLSliderCtrl::setMinValue(), LLSlider::setMinValue(), LLMultiSliderCtrl::setMinValue(), LLMultiSlider::setMinValue(), LLStatGraph::setValue(), LLSpinCtrl::setValue(), LLSliderCtrl::setValue(), LLSlider::setValue(), LLVector3d::setValue(), LLDebugVarMessageBox::slider_changed(), LLFilterSD2XMLRPC::streamOut(), LLFloaterAnimPreview::validateEaseIn(), LLFloaterAnimPreview::validateEaseOut(), LLFloaterAnimPreview::validateLoopIn(), and LLFloaterAnimPreview::validateLoopOut().
LLSD::String LLSD::asString | ( | ) | const |
Definition at line 714 of file llsd.cpp.
References LLSD::Impl::asString(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLScrollListCtrl::addColumn(), LLNameListCtrl::addElement(), LLScrollListCtrl::addElement(), LLPanelDisplay::applyWindowSize(), LLURI::buildHTTP(), LLServiceBuilder::buildServiceURI(), LLScrollListCtrl::calcColumnWidths(), LLLiveLSLEditor::callbackLSLCompileFailed(), LLPreviewLSL::callbackLSLCompileFailed(), LLTextureFetchWorker::callbackURLReceived(), tut::checkConversions(), tut::checkRoundTrip(), LLPanel::childGetText(), LLPanelEstateInfo::commitEstateInfoCaps(), LLMimeDiscoveryResponder::completedHeader(), LLMediaTypeResponder::completedHeader(), LLControlGroupCLP::configure(), LLMimeIndex::contentType(), LLServiceBuilder::createServiceDefinition(), LLFloaterWindLight::deleteAlertCallback(), LLFloaterWater::deleteAlertCallback(), LLScrollListCtrl::deleteItems(), LLFloaterMediaBrowser::draw(), tut::ensure_equals(), LLFloaterAvatarPicker::find(), LLControlGroup::findString(), LLSimpleDispatcher::fireEvent(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLInventoryCategory::fromLLSD(), LLInventoryItem::fromLLSD(), LLCrashLogger::gatherFiles(), LLFloaterReporter::gatherReport(), LLPanelEstateInfo::getAbuseEmailAddress(), LLScrollListItem::getContentsCSV(), getElementSize(), LLPanelEstateInfo::getEstateName(), LLScrollListCtrl::getItem(), LLFloaterSnapshot::Impl::getLayerType(), LLPanelLogin::getLocation(), LLPanelEstateInfo::getOwnerName(), LLPanelDirBrowser::getSelectedInfo(), LLScrollListCtrl::getSelectedItemLabel(), LLAppViewer::getSettingsFileName(), LLControlGroup::getString(), LLFloaterSnapshot::Impl::getTypeIndex(), LLComboBox::getXML(), LLTeleportHandler::handle(), LLLoginHandler::handle(), LLChatHandler::handle(), LLWorldEnvSettings::handleEvent(), LLToolsSelectTool::handleEvent(), LLEditTakeOff::handleEvent(), LLEditEnableTakeOff::handleEvent(), LLViewCheckRenderType::handleEvent(), LLViewToggleRenderType::handleEvent(), LLViewCheckBeaconEnabled::handleEvent(), LLViewToggleBeacon::handleEvent(), LLViewBeaconWidth::handleEvent(), LLToggleControl::handleEvent(), LLToolsSelectedScriptAction::handleEvent(), LLShowAgentProfile::handleEvent(), LLPromptShowFile::handleEvent(), LLPromptShowURL::handleEvent(), LLFloaterVisible::handleEvent(), LLShowFloater::handleEvent(), LLObjectEnableSitOrStand::handleEvent(), LLToolsLookAtSelection::handleEvent(), LLToolsEnableBuyOrTake::handleEvent(), LLAttachObject::handleEvent(), LLSetSortBy::handleEvent(), LLDoCreateFloater::handleEvent(), LLDoCreate::handleEvent(), LLDoToSelected::handleEvent(), LLDoToSelectedFloater::handleEvent(), LLDoToSelectedPanel::handleEvent(), handleLogFileChanged(), LLScrollListCtrl::handleToolTip(), LLScrollListCtrl::handleUnicodeCharHere(), LLFloaterURLEntry::headerFetchComplete(), idle_startup(), LLCacheName::importFile(), LLCrashLogger::init(), LLAppViewer::initConfiguration(), LLError::initForServer(), LLMimeIndex::isMultipart(), LLScrollListCtrl::isSelected(), LLRadioGroup::isSelected(), ll_binary_from_string(), LLScrollListColumn::LLScrollListColumn(), LLControlVariable::llsd_compare(), LLWLDayCycle::loadDayCycle(), LLPanelLogin::loadLoginPage(), LLMessageConfigFile::loadServerDefaults(), LLServiceBuilder::loadServiceDefinitionsFromFile(), LLAppViewer::loadSettingsFromDirectory(), LLFloaterDayCycle::onAddKey(), LLFloaterNameDesc::onBtnOK(), LLFloaterAnimPreview::onBtnOK(), LLPanelActiveSpeakers::onChangeModerationMode(), LLFloaterWindLight::onChangePresetName(), LLFloaterWater::onChangePresetName(), LLPreviewGesture::onClickAdd(), LLPanelLogin::onClickConnect(), LLPanelObjectTools::onClickDeleteAllOwnedBy(), LLPanelObjectTools::onClickDeleteAllScriptedOwnedBy(), LLPanelObjectTools::onClickDeletePublicOwnedBy(), LLFloaterAuction::onClickOK(), LLPanelRegionDebugInfo::onClickReturnScriptedAll(), LLPanelRegionDebugInfo::onClickReturnScriptedOtherLand(), LLChatBar::onClickSay(), LLPanelLandAccess::onCommitAny(), LLFloaterTestImpl::onCommitCombo(), LLFloaterAnimPreview::onCommitEmote(), LLChatBar::onCommitGesture(), LLFloaterAnimPreview::onCommitHandPose(), LLPanelVoiceDeviceSettings::onCommitInputDevice(), LLPanelLandObjects::onCommitList(), LLFloaterAnimPreview::onCommitName(), LLPanelVoiceDeviceSettings::onCommitOutputDevice(), LLFloaterWorldMap::onCommitSearchResult(), LLFloaterSettingsDebug::onCommitSettings(), LLFloaterWindLight::onDeletePreset(), LLFloaterWater::onDeletePreset(), LLPanelLandObjects::onDoubleClickOwner(), LLScriptEdCore::onErrorList(), LLScriptEdCore::onHelpComboCommit(), LLFloaterDayCycle::onKeyPresetChanged(), LLFloaterAvatarPicker::onList(), LLFloaterPostProcess::onLoadEffect(), LLPanelGroupLandMoney::impl::onMapButton(), LLFloaterPostProcess::onSaveEffect(), LLPanelWeb::onSelectBrowser(), LLFloaterAnimPreview::onSliderMove(), operator String(), SortScrollListItem::operator()(), llsd_select_string::operator()(), LLLoginHandler::parse(), LLMimeParser::Impl::parseIndex(), LLPanelDirLand::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLViewerParcelVoiceInfo::post(), LLViewerChatterBoxInvitation::post(), LLViewerForceCloseChatterBoxSession::post(), LLMessageHandlerBridge::post(), LLSDRPCServer::process_impl(), LLHTTPResponseHeader::process_impl(), LLPanelGeneral::refresh(), LLChatBar::refreshGestures(), LLFloaterSellLandUI::refreshUI(), LLPanelFriends::refreshUI(), LLURLHistory::removeURL(), LLFloaterAnimPreview::resetMotion(), LLVoiceClientCapResponder::result(), LLInventoryModel::fetchDescendentsResponder::result(), LLFloaterPostProcess::saveAlertCallback(), LLPanelDirFindAll::search(), LLScrollListCtrl::selectItemByLabel(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLFloaterPostcard::sendPostcard(), LLPanelRequestTools::sendRequest(), set_language(), LLPanelGeneral::set_specific_start_location(), LLPanelGeneral::set_start_location(), LLPanelGroupVoting::impl::setEnableHistoryItem(), LLPanelGroupVoting::impl::setEnableVoteProposal(), LLScrollListCtrl::setSelectedByValue(), LLRadioGroup::setSelectedByValue(), LLSavedSettingsGlue::setString(), LLTextEditor::setValue(), LLTextBox::setValue(), LLScrollListText::setValue(), LLScrollListIcon::setValue(), LLRadioGroup::setValue(), LLMenuItemGL::setValue(), LLLineEditor::setValue(), LLIconCtrl::setValue(), LLDragHandle::setValue(), LLFloaterTopObjects::showBeacon(), LLFloaterMediaBrowser::showInstance(), LLColumnHeader::showList(), LLFilterSD2XMLRPC::streamOut(), LLFloaterTopObjects::updateSelectionInfo(), LLFloaterPostcard::updateUserInfo(), LLUpdateAgentInventoryResponder::uploadComplete(), LLAssetUploadResponder::uploadFailure(), and write_debug_dx().
LLSD::UUID LLSD::asUUID | ( | ) | const |
Definition at line 715 of file llsd.cpp.
References LLSD::Impl::asUUID(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLSDXMLParser::Impl::endElementHandler(), tut::ensure_equals(), LLFloaterGroupPicker::findInstance(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLFloaterChatterBox::getFloater(), LLWaterParamManager::getNormalMapID(), LLPanelDirBrowser::getSelectedInfo(), LLScrollListItem::getUUID(), LLShowAgentProfile::handleEvent(), LLPanelActiveSpeakers::handleSpeakerSelect(), LLFloaterGroupPicker::LLFloaterGroupPicker(), llsd_to_im_info(), LLPanelActiveSpeakers::onClickMuteTextCommit(), LLPanelActiveSpeakers::onClickMuteVoiceCommit(), LLPanelActiveSpeakers::onClickProfile(), LLPanelActiveSpeakers::onDoubleClickSpeaker(), LLPanelActiveSpeakers::onVolumeChange(), operator UUID(), SortFriendsByID::operator()(), llsd_select_uuid::operator()(), LLLoginHandler::parse(), LLViewerChatterBoxInvitation::post(), LLViewerForceCloseChatterBoxSession::post(), LLViewerChatterBoxSessionEventReply::post(), LLViewerChatterBoxSessionStartReply::post(), LLAgentGroupDataUpdateViewerNode::post(), LLAgentDropGroupViewerNode::post(), LLPanelActiveSpeakers::refreshSpeakers(), LLTextureCtrl::setValue(), LLNameEditor::setValue(), LLScrollListIcon::setValue(), LLIconCtrl::setValue(), start_deprecated_conference_chat(), and LLNewAgentInventoryResponder::uploadComplete().
LLSD::Date LLSD::asDate | ( | ) | const |
Definition at line 716 of file llsd.cpp.
References LLSD::Impl::asDate(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLSDXMLParser::Impl::endElementHandler(), tut::ensure_equals(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), and operator Date().
LLSD::URI LLSD::asURI | ( | ) | const |
Definition at line 717 of file llsd.cpp.
References LLSD::Impl::asURI(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLSDXMLParser::Impl::endElementHandler(), tut::ensure_equals(), and operator URI().
LLSD::Binary LLSD::asBinary | ( | ) | const |
Definition at line 718 of file llsd.cpp.
References LLSD::Impl::asBinary(), impl, and LLSDUnnamedNamespace::safe().
Referenced by tut::ensure_equals(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), ll_ipaddr_from_sd(), ll_string_from_binary(), ll_U32_from_sd(), ll_U64_from_sd(), operator Binary(), LLIMInfo::packMessageBlock(), LLViewerChatterBoxInvitation::post(), and LLFilterSD2XMLRPC::streamOut().
LLSD::operator Boolean | ( | ) | const [inline] |
Definition at line 195 of file llsd.h.
References asBoolean().
LLSD::operator Integer | ( | ) | const [inline] |
Definition at line 196 of file llsd.h.
References asInteger().
LLSD::operator Real | ( | ) | const [inline] |
LLSD::operator String | ( | ) | const [inline] |
Definition at line 198 of file llsd.h.
References asString().
LLSD::operator UUID | ( | ) | const [inline] |
LLSD::operator Date | ( | ) | const [inline] |
LLSD::operator URI | ( | ) | const [inline] |
LLSD::operator Binary | ( | ) | const [inline] |
Definition at line 202 of file llsd.h.
References asBinary().
bool LLSD::operator! | ( | ) | const [inline] |
Definition at line 206 of file llsd.h.
References asBoolean().
void LLSD::assign | ( | const char * | v | ) |
LLSD& LLSD::operator= | ( | const char * | v | ) | [inline] |
LLSD LLSD::emptyMap | ( | ) | [static] |
Definition at line 729 of file llsd.cpp.
References impl, and LLSDUnnamedNamespace::makeMap().
Referenced by LLIMMgr::addPendingAgentListUpdates(), LLHTTPClient::blockingGet(), LLSDMessageBuilder::clearMessage(), compare_llsd_with_template(), tut::TestLLSDSerializeData::doRoundTripTests(), tut::fillmap(), LLFloaterReporter::gatherReport(), LLIMMgr::LLIMMgr(), LLMultiSlider::LLMultiSlider(), LLPostProcess::LLPostProcess(), LLWaterParamManager::loadAllPresets(), LLWLParamManager::loadPreset(), LLWaterParamManager::loadPreset(), LLWLParamManager::loadPresets(), LLSDMessageBuilder::newMessage(), LLSDMessageBuilder::nextBlock(), LLPanelActiveSpeakers::onChangeModerationMode(), LLPanelActiveSpeakers::onModeratorMuteText(), LLPanelActiveSpeakers::onModeratorMuteVoice(), LLSDBinaryParser::parseMap(), LLSDNotationParser::parseMap(), LLMetricsImpl::printTotals(), LLMetricsImpl::recordEventDetails(), LLWLParamManager::savePreset(), LLWaterParamManager::savePreset(), LLWLParamManager::savePresets(), LLFloaterPostcard::sendPostcard(), LLSDXMLParser::Impl::startElementHandler(), tut::testType(), and update_dialog_callback().
bool LLSD::has | ( | const String & | k | ) | const |
Definition at line 736 of file llsd.cpp.
References LLSD::Impl::has(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLScrollListCtrl::addElement(), LLIMMgr::addPendingAgentListUpdates(), LLIMMgr::clearPendingAgentListUpdates(), LLIMMgr::clearPendingInviation(), compare_llsd_with_template(), LLControlGroupCLP::configure(), LLSDRPCResponse::extractResponse(), LLInventoryFilter::fromLLSD(), LLTextureEntry::fromLLSD(), LLTextureAnim::fromLLSD(), LLSculptParams::fromLLSD(), LLFlexibleObjectData::fromLLSD(), LLLightParams::fromLLSD(), LLSaleInfo::fromLLSD(), LLInventoryCategory::fromLLSD(), LLInventoryItem::fromLLSD(), LLCrashLogger::gatherFiles(), LLIMMgr::getPendingAgentListUpdates(), LLMessageConfig::getSenderTrustedness(), LLAppViewer::getSettingsFileName(), LLURLHistory::getURLHistory(), LLIMMgr::inviteToSession(), LLMessageConfig::isValidMessage(), ll_create_item_from_sd(), LLPostProcess::LLPostProcess(), LLScrollListColumn::LLScrollListColumn(), LLControlGroup::loadFromFile(), LLMessageConfigFile::loadMaxQueuedEvents(), LLLogImpl::log(), LLWLParamSet::mix(), LLFloaterPostProcess::onSaveEffect(), LLIMInfo::packMessageBlock(), LLViewerRequiredVoiceVersion::post(), LLViewerParcelVoiceInfo::post(), CoarseLocationUpdate::post(), LLViewerChatterBoxSessionStartReply::post(), LLAgentGroupDataUpdateViewerNode::post(), LLAgentDropGroupViewerNode::post(), LLContextURLExtractor::process_impl(), LLSDRPCServer::process_impl(), LLFilterSD2XMLRPCResponse::process_impl(), LLFloaterIMPanel::processSessionUpdate(), LLVoiceClientCapResponder::result(), LLMapLayerResponder::result(), LLInventoryModel::fetchDescendentsResponder::result(), LLMimeParser::Impl::scanPastContent(), LLMultiSlider::setCurSlider(), LLMessageSystem::setMessageBans(), LLMultiSlider::setSliderValue(), LLIMSpeakerMgr::setSpeakers(), LLIMSpeakerMgr::updateSpeakers(), LLLogImpl::useLegacyLogMessage(), and LLHTTPConfigRuntimeSingleService::validate().
Definition at line 737 of file llsd.cpp.
References LLSD::Impl::get(), impl, and LLSDUnnamedNamespace::safe().
Referenced by LLURLDispatcherImpl::dispatchApp(), LLWLParamSet::getFloat(), LLWaterParamSet::getFloat(), LLWLParamSet::getVector(), LLWaterParamSet::getVector2(), LLWaterParamSet::getVector3(), LLWaterParamSet::getVector4(), LLScrollListColumn::LLScrollListColumn(), and LLMessageSystem::setMessageBans().
Definition at line 739 of file llsd.cpp.
References impl, LLSDUnnamedNamespace::ImplMap::insert(), and LLSDUnnamedNamespace::makeMap().
Referenced by LLMultiSlider::addSlider(), LLURLHistory::addURL(), LLWaterParamSet::LLWaterParamSet(), LLSDBinaryParser::parseMap(), and LLSDNotationParser::parseMap().
void LLSD::erase | ( | const String & | k | ) |
Definition at line 741 of file llsd.cpp.
References LLSDUnnamedNamespace::ImplMap::erase(), impl, and LLSDUnnamedNamespace::makeMap().
Referenced by LLIMMgr::clearPendingAgentListUpdates(), LLIMMgr::clearPendingInviation(), LLHTTPConfigRuntimeSingleService::del(), LLMultiSlider::deleteSlider(), LLURLDispatcherImpl::dispatchApp(), LLURLHistory::limitSize(), and LLURLHistory::removeURL().
Definition at line 743 of file llsd.cpp.
References impl, LLSDUnnamedNamespace::makeMap(), and LLSDUnnamedNamespace::ImplMap::ref().
Definition at line 745 of file llsd.cpp.
References impl, LLSD::Impl::ref(), and LLSDUnnamedNamespace::safe().
const LLSD& LLSD::operator[] | ( | const char * | c | ) | const [inline] |
LLSD LLSD::emptyArray | ( | ) | [static] |
Definition at line 749 of file llsd.cpp.
References impl, and LLSDUnnamedNamespace::makeArray().
Referenced by LLIMMgr::addPendingAgentListUpdates(), compare_llsd_with_template(), tut::TestLLSDSerializeData::doRoundTripTests(), LLHTTPClient::get(), LLFloaterIMPanel::inviteToSession(), LLApp::LLApp(), LLPostProcess::LLPostProcess(), LLWaterParamSet::LLWaterParamSet(), LLWLDayCycle::loadDayCycle(), LLSDBinaryParser::parseArray(), LLSDNotationParser::parseArray(), LLMetricsImpl::printTotals(), LLURI::queryMap(), LLWLDayCycle::saveDayCycle(), LLViewerRegion::setSeedCapability(), and LLSDXMLParser::Impl::startElementHandler().
Definition at line 758 of file llsd.cpp.
References LLSD::Impl::get(), impl, and LLSDUnnamedNamespace::safe().
Definition at line 759 of file llsd.cpp.
References impl, LLSDUnnamedNamespace::makeArray(), and LLSDUnnamedNamespace::ImplArray::set().
Referenced by setControlValueCB().
Definition at line 761 of file llsd.cpp.
References impl, LLSDUnnamedNamespace::ImplArray::insert(), and LLSDUnnamedNamespace::makeArray().
void LLSD::append | ( | const LLSD & | v | ) |
Definition at line 763 of file llsd.cpp.
References LLSDUnnamedNamespace::ImplArray::append(), impl, and LLSDUnnamedNamespace::makeArray().
Referenced by LLIMMgr::addPendingAgentListUpdates(), append_node_paths(), LLInventoryModel::bulkFetch(), compare_llsd_with_template(), LLHTTPNode::Description::delAPI(), tut::TestLLSDSerializeData::doRoundTripTests(), LLInventoryModel::fetchDescendentsResponder::error(), LLHTTPConfigService::get(), LLHTTPNode::Description::getAPI(), LLGLManager::getGLInfo(), LLWorld::getInfo(), LLCircuit::getInfo(), LLAssetStorage::getPendingDetails(), LLFloaterTopObjects::handleReply(), LLFloaterIMPanel::inviteToSession(), ll_sd_from_color4(), ll_sd_from_quaternion(), ll_sd_from_vector2(), ll_sd_from_vector3(), ll_sd_from_vector3d(), ll_sd_from_vector4(), LLApp::LLApp(), LLPostProcess::LLPostProcess(), llsd_copy_array(), LLWaterParamSet::LLWaterParamSet(), LLSDBinaryParser::parseArray(), LLSDNotationParser::parseArray(), LLURI::pathArray(), LLHTTPNode::Description::postAPI(), LLMetricsImpl::printTotals(), LLHTTPNode::Description::putAPI(), LLWLDayCycle::saveDayCycle(), send_start_session_messages(), LLFloaterIMPanel::sendMsg(), LLViewerRegion::setSeedCapability(), LLSDXMLParser::Impl::startElementHandler(), and LLHTTPNode::traverse().
void LLSD::erase | ( | Integer | i | ) |
Definition at line 764 of file llsd.cpp.
References LLSDUnnamedNamespace::ImplArray::erase(), impl, and LLSDUnnamedNamespace::makeArray().
Definition at line 768 of file llsd.cpp.
References impl, LLSD::Impl::ref(), and LLSDUnnamedNamespace::safe().
Definition at line 766 of file llsd.cpp.
References impl, LLSDUnnamedNamespace::makeArray(), and LLSDUnnamedNamespace::ImplArray::ref().
int LLSD::size | ( | ) | const |
Definition at line 756 of file llsd.cpp.
References impl, LLSDUnnamedNamespace::safe(), and LLSD::Impl::size().
Referenced by LLMultiSlider::addSlider(), LLFloaterDayCycle::addSliderKey(), tut::TestLLSDSerializeData::checkRoundTrip(), LLMultiSlider::deleteSlider(), tut::ensure_equals(), tut::TestLLSDParsing< LLSDNotationParser >::ensureParse(), LLSDBinaryFormatter::format(), LLSDXMLFormatter::format_impl(), LLAPIService::get(), getElementSize(), LLWLParamSet::getFloat(), LLWaterParamSet::getFloat(), LLSDMessageBuilder::getMessageSize(), LLSDMessageReader::getNumberOfBlocks(), LLHTTPAssetStorage::getPendingDetails(), LLWaterParamSet::getVector2(), LLWaterParamSet::getVector3(), LLWaterParamSet::getVector4(), LLTeleportHandler::handle(), LLParcelHandler::handle(), LLGroupHandler::handle(), LLEventHandler::handle(), LLClassifiedHandler::handle(), LLAgentHandler::handle(), LLChatHandler::handle(), LLHTTPNode::handles(), idle_startup(), LLFloaterURLEntry::LLFloaterURLEntry(), LLMessageConfigFile::loadCapBans(), LLWLDayCycle::loadDayCycle(), LLPanelLogin::loadLoginPage(), LLMessageConfigFile::loadMessages(), LLWLParamSet::mix(), LLSDMessageBuilder::nextBlock(), LLFloaterSnapshot::Impl::onCommitResolution(), LLFloaterDayCycle::onRunAnimSky(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLURLHistory::removeURL(), start_deprecated_conference_chat(), LLSDXMLParser::Impl::startElementHandler(), and LLFloaterDayCycle::syncTrack().
LLSD::map_iterator LLSD::beginMap | ( | ) |
Definition at line 812 of file llsd.cpp.
References LLSDUnnamedNamespace::ImplMap::beginMap(), impl, and LLSDUnnamedNamespace::makeMap().
Referenced by LLIMMgr::addPendingAgentListUpdates(), check_for_unrecognized_messages(), compare_llsd_with_template(), LLControlGroupCLP::configure(), LLServiceBuilder::createServiceDefinition(), tut::ensure_equals(), LLMultiSlider::findUnusedValue(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLHTTPLiveConfigService::get(), LLCacheName::importFile(), LLMuteList::LLMuteList(), LLControlGroup::loadFromFile(), LLWLParamManager::loadPresets(), LLAppViewer::loadSettingsFromDirectory(), LLURI::mapToQueryString(), LLWLParamSet::mix(), LLHTTPConfigRuntimeService::post(), LLMetricsImpl::printTotals(), LLVoiceClientCapResponder::result(), BaseCapabilitiesComplete::result(), LLVoiceCallCapResponder::result(), LLWaterParamSet::setAll(), LLMultiSlider::setSliderValue(), LLMultiSlider::setValue(), LLFilterSD2XMLRPC::streamOut(), LLFloaterPostProcess::syncMenu(), and LLWLParamSet::update().
LLSD::map_iterator LLSD::endMap | ( | ) |
Definition at line 813 of file llsd.cpp.
References LLSDUnnamedNamespace::ImplMap::endMap(), impl, and LLSDUnnamedNamespace::makeMap().
Referenced by LLIMMgr::addPendingAgentListUpdates(), check_for_unrecognized_messages(), compare_llsd_with_template(), LLControlGroupCLP::configure(), LLServiceBuilder::createServiceDefinition(), tut::ensure_equals(), LLMultiSlider::findUnusedValue(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLHTTPLiveConfigService::get(), LLCacheName::importFile(), LLMuteList::LLMuteList(), LLControlGroup::loadFromFile(), LLWLParamManager::loadPresets(), LLAppViewer::loadSettingsFromDirectory(), LLURI::mapToQueryString(), LLWLParamSet::mix(), LLHTTPConfigRuntimeService::post(), LLMetricsImpl::printTotals(), LLVoiceClientCapResponder::result(), BaseCapabilitiesComplete::result(), LLVoiceCallCapResponder::result(), LLWaterParamSet::setAll(), LLMultiSlider::setSliderValue(), LLIMSpeakerMgr::setSpeakers(), LLMultiSlider::setValue(), LLFilterSD2XMLRPC::streamOut(), LLFloaterPostProcess::syncMenu(), LLWLParamSet::update(), and LLIMSpeakerMgr::updateSpeakers().
LLSD::map_const_iterator LLSD::beginMap | ( | ) | const |
Definition at line 814 of file llsd.cpp.
References LLSD::Impl::beginMap(), impl, and LLSDUnnamedNamespace::safe().
LLSD::map_const_iterator LLSD::endMap | ( | ) | const |
Definition at line 815 of file llsd.cpp.
References LLSD::Impl::endMap(), impl, and LLSDUnnamedNamespace::safe().
LLSD::array_iterator LLSD::beginArray | ( | ) |
Definition at line 817 of file llsd.cpp.
References LLSDUnnamedNamespace::ImplArray::beginArray(), impl, and LLSDUnnamedNamespace::makeArray().
Referenced by LLScrollListCtrl::addElement(), LLIMMgr::addPendingAgentListUpdates(), append_node_paths(), LLURI::buildHTTP(), LLFloaterURLEntry::buildURLHistory(), LLFloaterMediaBrowser::buildURLHistory(), LLLiveLSLEditor::callbackLSLCompileFailed(), LLPreviewLSL::callbackLSLCompileFailed(), compare_llsd_with_template(), LLError::configure(), LLViewerImageList::doPrefetchImages(), tut::HTTPNodeTestData::ensureInArray(), LLAPIService::followRemainder(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLApp::getOption(), tut::AlphaNode::handles(), LLServiceBuilder::loadServiceDefinitionsFromFile(), CoarseLocationUpdate::post(), LLAgentGroupDataUpdateViewerNode::post(), LLFilterSD2XMLRPCRequest::process_impl(), tut::HTTPNodeTestData::remainderPath(), LLURLHistory::removeURL(), LLMapLayerResponder::result(), LLFloaterIMPanel::sessionInitReplyReceived(), LLScrollListCtrl::setColumnHeadings(), setLevels(), LLScrollListCtrl::setValue(), and LLFilterSD2XMLRPC::streamOut().
LLSD::array_iterator LLSD::endArray | ( | ) |
Definition at line 818 of file llsd.cpp.
References LLSDUnnamedNamespace::ImplArray::endArray(), impl, and LLSDUnnamedNamespace::makeArray().
Referenced by LLScrollListCtrl::addElement(), LLIMMgr::addPendingAgentListUpdates(), append_node_paths(), LLURI::buildHTTP(), LLFloaterURLEntry::buildURLHistory(), LLFloaterMediaBrowser::buildURLHistory(), LLLiveLSLEditor::callbackLSLCompileFailed(), LLPreviewLSL::callbackLSLCompileFailed(), compare_llsd_with_template(), LLError::configure(), LLViewerImageList::doPrefetchImages(), tut::HTTPNodeTestData::ensureInArray(), LLInventoryModel::fetchDescendentsResponder::error(), LLAPIService::followRemainder(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), LLApp::getOption(), tut::AlphaNode::handles(), LLServiceBuilder::loadServiceDefinitionsFromFile(), CoarseLocationUpdate::post(), LLAgentGroupDataUpdateViewerNode::post(), LLFilterSD2XMLRPCRequest::process_impl(), tut::HTTPNodeTestData::remainderPath(), LLURLHistory::removeURL(), LLMapLayerResponder::result(), LLInventoryModel::fetchDescendentsResponder::result(), LLFloaterIMPanel::sessionInitReplyReceived(), LLScrollListCtrl::setColumnHeadings(), setLevels(), LLIMSpeakerMgr::setSpeakers(), LLScrollListCtrl::setValue(), and LLFilterSD2XMLRPC::streamOut().
LLSD::array_const_iterator LLSD::beginArray | ( | ) | const |
Definition at line 819 of file llsd.cpp.
References LLSD::Impl::beginArray(), impl, and LLSDUnnamedNamespace::safe().
LLSD::array_const_iterator LLSD::endArray | ( | ) | const |
Definition at line 820 of file llsd.cpp.
References LLSD::Impl::endArray(), impl, and LLSDUnnamedNamespace::safe().
LLSD::Type LLSD::type | ( | ) | const |
Definition at line 685 of file llsd.cpp.
References impl, LLSDUnnamedNamespace::safe(), and LLSD::Impl::type().
Referenced by LLURI::buildHTTP(), LLSDTraits< std::string >::checkType(), compare_llsd_with_template(), tut::ensure_equals(), LLSDBinaryFormatter::format(), LLSDNotationFormatter::format(), LLSDXMLFormatter::format_impl(), getElementSize(), isArray(), isBinary(), isBoolean(), isDate(), isDefined(), isInteger(), isMap(), isReal(), isString(), isUndefined(), isURI(), isUUID(), LLFilterSD2XMLRPCRequest::process_impl(), LLApp::setOptionData(), and LLFilterSD2XMLRPC::streamOut().
bool LLSD::isUndefined | ( | ) | const [inline] |
Definition at line 287 of file llsd.h.
References type(), and TypeUndefined.
Referenced by LLURI::buildHTTP(), compare_llsd_with_template(), LLSDBinaryParser::doParse(), LLSDNotationParser::doParse(), getLLSD(), LLURLHistory::loadFile(), LLMessageConfigFile::loadFile(), LLIndraConfigFile::loadFile(), LLSDMessageBuilder::nextBlock(), LLMimeParser::Impl::parseHeaders(), LLContextURLExtractor::process_impl(), and tut::rpc_server_data::pump_loop().
bool LLSD::isDefined | ( | ) | const [inline] |
Definition at line 288 of file llsd.h.
References type(), and TypeUndefined.
Referenced by LLServiceBuilder::buildServiceURI(), compare_llsd_with_template(), LLMimeIndex::contentLength(), LLMimeIndex::contentType(), LLApp::getOption(), LLCrashLogger::init(), LLMimeIndex::isMultipart(), and LLHTTPLiveConfigSingleService::validate().
bool LLSD::isBoolean | ( | ) | const [inline] |
Definition at line 289 of file llsd.h.
References type(), and TypeBoolean.
bool LLSD::isInteger | ( | ) | const [inline] |
Definition at line 290 of file llsd.h.
References type(), and TypeInteger.
Referenced by LLRadioGroup::setValue().
bool LLSD::isReal | ( | ) | const [inline] |
Definition at line 291 of file llsd.h.
References type(), and TypeReal.
Referenced by LLWLParamSet::getFloat(), and LLWaterParamSet::getFloat().
bool LLSD::isString | ( | ) | const [inline] |
Definition at line 292 of file llsd.h.
References type(), and TypeString.
Referenced by LLURI::buildHTTP(), and LLServiceBuilder::createServiceDefinition().
bool LLSD::isUUID | ( | ) | const [inline] |
Definition at line 293 of file llsd.h.
References type(), and TypeUUID.
Referenced by LLScrollListIcon::setValue(), and LLIconCtrl::setValue().
bool LLSD::isDate | ( | ) | const [inline] |
bool LLSD::isURI | ( | ) | const [inline] |
bool LLSD::isBinary | ( | ) | const [inline] |
Definition at line 296 of file llsd.h.
References type(), and TypeBinary.
bool LLSD::isMap | ( | ) | const [inline] |
Definition at line 297 of file llsd.h.
References type(), and TypeMap.
Referenced by LLIMMgr::addPendingAgentListUpdates(), LLServiceBuilder::buildServiceURI(), compare_llsd_with_template(), LLServiceBuilder::createServiceDefinition(), LLMessageConfigFile::loadCapBans(), LLLiveAppConfig::loadFile(), LLIndraConfigFile::loadFile(), LLMessageConfigFile::loadMessageBans(), LLURI::mapToQueryString(), LLAgentDropGroupViewerNode::post(), LLWLParamSet::setAll(), LLWaterParamSet::setAll(), LLWLParamManager::setParamSet(), LLWaterParamManager::setParamSet(), LLIMSpeakerMgr::setSpeakers(), LLMultiSlider::setValue(), and LLIMSpeakerMgr::updateSpeakers().
bool LLSD::isArray | ( | ) | const [inline] |
Definition at line 298 of file llsd.h.
References type(), and TypeArray.
Referenced by LLURI::buildHTTP(), compare_llsd_with_template(), LLWLParamSet::getFloat(), LLWaterParamSet::getFloat(), LLWLParamSet::getVector(), LLWaterParamSet::getVector2(), LLWaterParamSet::getVector3(), LLWaterParamSet::getVector4(), LLSDMessageBuilder::nextBlock(), LLAgentDropGroupViewerNode::post(), and LLIMSpeakerMgr::setSpeakers().
void LLSD::assign | ( | const void * | ) |
assign from arbitrary pointers
LLSD& LLSD::operator= | ( | const void * | ) |
assign from arbitrary pointers
bool LLSD::has | ( | Integer | ) | const |
has only works for Maps
U32 LLSD::allocationCount | ( | ) | [static] |
how many Impls have been made
Definition at line 771 of file llsd.cpp.
References LLSD::Impl::sAllocationCount.
Referenced by tut::SDAllocationCheck::~SDAllocationCheck().
U32 LLSD::outstandingCount | ( | ) | [static] |
how many Impls are still alive
Definition at line 772 of file llsd.cpp.
References LLSD::Impl::sOutstandingCount.
Referenced by tut::SDCleanupCheck::~SDCleanupCheck().
const char * LLSD::dumpXML | ( | const LLSD & | llsd | ) | [static, private] |
Returns XML version of llsd -- only to be called from debugger.
Definition at line 801 of file llsd.cpp.
References llsd_dump().
const char * LLSD::dump | ( | const LLSD & | llsd | ) | [static, private] |
Returns Notation version of llsd -- only to be called from debugger.
Definition at line 807 of file llsd.cpp.
References llsd_dump().
Impl* LLSD::impl [private] |
Definition at line 323 of file llsd.h.
Referenced by append(), asBinary(), asBoolean(), asDate(), asInteger(), asReal(), assign(), asString(), asURI(), asUUID(), beginArray(), beginMap(), clear(), emptyArray(), emptyMap(), endArray(), endMap(), erase(), get(), has(), insert(), operator[](), set(), size(), type(), and ~LLSD().