LLSD Class Reference

#include <llsd.h>

Inheritance diagram for LLSD:

Inheritance graph
[legend]
Collaboration diagram for LLSD:

Collaboration graph
[legend]

List of all members.

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< U8Binary

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



Implimpl

Copyable and Assignable



 LLSD (const LLSD &)
void assign (const LLSD &other)
LLSDoperator= (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 &)
LLSDoperator= (Boolean v)
LLSDoperator= (Integer v)
LLSDoperator= (Real v)
LLSDoperator= (const String &v)
LLSDoperator= (const UUID &v)
LLSDoperator= (const Date &v)
LLSDoperator= (const URI &v)
LLSDoperator= (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 *)
LLSDoperator= (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 &)
LLSDoperator[] (const String &)
LLSDoperator[] (const char *c)
const LLSDoperator[] (const String &) const
const LLSDoperator[] (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 LLSDoperator[] (Integer) const
LLSDoperator[] (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
LLSDoperator= (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


Detailed Description

LLSD provides a flexible data system similar to the data facilities of dynamic languages like Perl and Python. It is created to support exchange of structured data between loosly coupled systems. (Here, "loosly coupled" means not compiled together into the same module.)

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.


Member Typedef Documentation

typedef bool LLSD::Boolean

Definition at line 112 of file llsd.h.

typedef S32 LLSD::Integer

Definition at line 113 of file llsd.h.

typedef F64 LLSD::Real

Definition at line 114 of file llsd.h.

typedef std::string LLSD::String

Definition at line 115 of file llsd.h.

typedef LLUUID LLSD::UUID

Definition at line 116 of file llsd.h.

typedef LLDate LLSD::Date

Definition at line 117 of file llsd.h.

typedef LLURI LLSD::URI

Definition at line 118 of file llsd.h.

typedef std::vector<U8> LLSD::Binary

Definition at line 119 of file llsd.h.

typedef std::map<String, LLSD>::iterator LLSD::map_iterator

Definition at line 252 of file llsd.h.

typedef std::map<String, LLSD>::const_iterator LLSD::map_const_iterator

Definition at line 253 of file llsd.h.

typedef std::vector<LLSD>::iterator LLSD::array_iterator

Definition at line 260 of file llsd.h.

typedef std::vector<LLSD>::const_iterator LLSD::array_const_iterator

Definition at line 261 of file llsd.h.


Member Enumeration Documentation

enum LLSD::Type

Enumerator:
TypeUndefined 
TypeBoolean 
TypeInteger 
TypeReal 
TypeString 
TypeUUID 
TypeDate 
TypeURI 
TypeBinary 
TypeMap 
TypeArray 

Definition at line 271 of file llsd.h.


Constructor & Destructor Documentation

LLSD::LLSD (  ) 

initially Undefined

Definition at line 676 of file llsd.cpp.

LLSD::~LLSD (  ) 

this class may NOT be subclassed

Definition at line 677 of file llsd.cpp.

References impl, and LLSD::Impl::reset().

Here is the call graph for this function:

LLSD::LLSD ( const LLSD other  ) 

Definition at line 679 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( Boolean  v  ) 

Definition at line 688 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( Integer  v  ) 

Definition at line 689 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( Real  v  ) 

Definition at line 690 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( const String v  ) 

Definition at line 692 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( const UUID v  ) 

Definition at line 691 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( const Date v  ) 

Definition at line 693 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( const URI v  ) 

Definition at line 694 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( const Binary v  ) 

Definition at line 695 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( F32  v  ) 

Definition at line 698 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( const char *  v  ) 

Definition at line 721 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD::LLSD ( const void *   ) 

construct from aribrary pointers


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

LLSD& LLSD::operator= ( const LLSD other  )  [inline]

Definition at line 101 of file llsd.h.

References assign().

Here is the call graph for this function:

void LLSD::clear (  ) 

void LLSD::assign ( Boolean  v  ) 

Definition at line 701 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::assign ( Integer  v  ) 

Definition at line 702 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::assign ( Real  v  ) 

Definition at line 703 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::assign ( const String v  ) 

Definition at line 704 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::assign ( const UUID v  ) 

Definition at line 705 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::assign ( const Date v  ) 

Definition at line 706 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::assign ( const URI v  ) 

Definition at line 707 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::assign ( const Binary v  ) 

Definition at line 708 of file llsd.cpp.

References LLSD::Impl::assign(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

LLSD& LLSD::operator= ( Boolean  v  )  [inline]

Definition at line 150 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( Integer  v  )  [inline]

Definition at line 151 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( Real  v  )  [inline]

Definition at line 152 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( const String v  )  [inline]

Definition at line 153 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( const UUID v  )  [inline]

Definition at line 154 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( const Date v  )  [inline]

Definition at line 155 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( const URI v  )  [inline]

Definition at line 156 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( const Binary v  )  [inline]

Definition at line 157 of file llsd.h.

References assign().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

LLSD::Binary LLSD::asBinary (  )  const

LLSD::operator Boolean (  )  const [inline]

Definition at line 195 of file llsd.h.

References asBoolean().

Here is the call graph for this function:

LLSD::operator Integer (  )  const [inline]

Definition at line 196 of file llsd.h.

References asInteger().

Here is the call graph for this function:

LLSD::operator Real (  )  const [inline]

Definition at line 197 of file llsd.h.

References asReal().

Here is the call graph for this function:

LLSD::operator String (  )  const [inline]

Definition at line 198 of file llsd.h.

References asString().

Here is the call graph for this function:

LLSD::operator UUID (  )  const [inline]

Definition at line 199 of file llsd.h.

References asUUID().

Here is the call graph for this function:

LLSD::operator Date (  )  const [inline]

Definition at line 200 of file llsd.h.

References asDate().

Here is the call graph for this function:

LLSD::operator URI (  )  const [inline]

Definition at line 201 of file llsd.h.

References asURI().

Here is the call graph for this function:

LLSD::operator Binary (  )  const [inline]

Definition at line 202 of file llsd.h.

References asBinary().

Here is the call graph for this function:

bool LLSD::operator! (  )  const [inline]

Definition at line 206 of file llsd.h.

References asBoolean().

Here is the call graph for this function:

void LLSD::assign ( const char *  v  ) 

Definition at line 722 of file llsd.cpp.

References assign().

Here is the call graph for this function:

LLSD& LLSD::operator= ( const char *  v  )  [inline]

Definition at line 216 of file llsd.h.

References assign().

Here is the call graph for this function:

LLSD LLSD::emptyMap (  )  [static]

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().

Here is the call graph for this function:

LLSD LLSD::get ( const String k  )  const

void LLSD::insert ( const String k,
const LLSD v 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSD::erase ( const String k  ) 

LLSD & LLSD::operator[] ( const String k  ) 

Definition at line 743 of file llsd.cpp.

References impl, LLSDUnnamedNamespace::makeMap(), and LLSDUnnamedNamespace::ImplMap::ref().

Here is the call graph for this function:

LLSD& LLSD::operator[] ( const char *  c  )  [inline]

Definition at line 229 of file llsd.h.

const LLSD & LLSD::operator[] ( const String k  )  const

Definition at line 745 of file llsd.cpp.

References impl, LLSD::Impl::ref(), and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

const LLSD& LLSD::operator[] ( const char *  c  )  const [inline]

Definition at line 231 of file llsd.h.

LLSD LLSD::emptyArray (  )  [static]

LLSD LLSD::get ( Integer  i  )  const

Definition at line 758 of file llsd.cpp.

References LLSD::Impl::get(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

void LLSD::set ( Integer  i,
const LLSD v 
)

Definition at line 759 of file llsd.cpp.

References impl, LLSDUnnamedNamespace::makeArray(), and LLSDUnnamedNamespace::ImplArray::set().

Referenced by setControlValueCB().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSD::insert ( Integer  i,
const LLSD v 
)

Definition at line 761 of file llsd.cpp.

References impl, LLSDUnnamedNamespace::ImplArray::insert(), and LLSDUnnamedNamespace::makeArray().

Here is the call graph for this function:

void LLSD::append ( const LLSD v  ) 

void LLSD::erase ( Integer  i  ) 

Definition at line 764 of file llsd.cpp.

References LLSDUnnamedNamespace::ImplArray::erase(), impl, and LLSDUnnamedNamespace::makeArray().

Here is the call graph for this function:

const LLSD & LLSD::operator[] ( Integer  i  )  const

Definition at line 768 of file llsd.cpp.

References impl, LLSD::Impl::ref(), and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

LLSD & LLSD::operator[] ( Integer  i  ) 

Definition at line 766 of file llsd.cpp.

References impl, LLSDUnnamedNamespace::makeArray(), and LLSDUnnamedNamespace::ImplArray::ref().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

LLSD::map_iterator LLSD::beginMap (  ) 

LLSD::map_iterator LLSD::endMap (  ) 

LLSD::map_const_iterator LLSD::beginMap (  )  const

Definition at line 814 of file llsd.cpp.

References LLSD::Impl::beginMap(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

LLSD::map_const_iterator LLSD::endMap (  )  const

Definition at line 815 of file llsd.cpp.

References LLSD::Impl::endMap(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

LLSD::array_iterator LLSD::beginArray (  ) 

LLSD::array_iterator LLSD::endArray (  ) 

LLSD::array_const_iterator LLSD::beginArray (  )  const

Definition at line 819 of file llsd.cpp.

References LLSD::Impl::beginArray(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

LLSD::array_const_iterator LLSD::endArray (  )  const

Definition at line 820 of file llsd.cpp.

References LLSD::Impl::endArray(), impl, and LLSDUnnamedNamespace::safe().

Here is the call graph for this function:

LLSD::Type LLSD::type (  )  const

bool LLSD::isUndefined (  )  const [inline]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLSD::isBoolean (  )  const [inline]

Definition at line 289 of file llsd.h.

References type(), and TypeBoolean.

Here is the call graph for this function:

bool LLSD::isInteger (  )  const [inline]

Definition at line 290 of file llsd.h.

References type(), and TypeInteger.

Referenced by LLRadioGroup::setValue().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLSD::isReal (  )  const [inline]

Definition at line 291 of file llsd.h.

References type(), and TypeReal.

Referenced by LLWLParamSet::getFloat(), and LLWaterParamSet::getFloat().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLSD::isString (  )  const [inline]

Definition at line 292 of file llsd.h.

References type(), and TypeString.

Referenced by LLURI::buildHTTP(), and LLServiceBuilder::createServiceDefinition().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLSD::isUUID (  )  const [inline]

Definition at line 293 of file llsd.h.

References type(), and TypeUUID.

Referenced by LLScrollListIcon::setValue(), and LLIconCtrl::setValue().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLSD::isDate (  )  const [inline]

Definition at line 294 of file llsd.h.

References type(), and TypeDate.

Here is the call graph for this function:

bool LLSD::isURI (  )  const [inline]

Definition at line 295 of file llsd.h.

References type(), and TypeURI.

Here is the call graph for this function:

bool LLSD::isBinary (  )  const [inline]

Definition at line 296 of file llsd.h.

References type(), and TypeBinary.

Here is the call graph for this function:

bool LLSD::isMap (  )  const [inline]

bool LLSD::isArray (  )  const [inline]

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Data Documentation

Impl* LLSD::impl [private]


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

Generated on Fri May 16 09:03:26 2008 for SecondLife by  doxygen 1.5.5