
Public Member Functions | |
| virtual ImplMap & | makeMap (Impl *&var) |
| virtual ImplArray & | makeArray (Impl *&var) |
| sure var is a modifiable, non-shared map or array | |
| virtual LLSD::Type | type () const |
| virtual void | assign (Impl *&var, LLSD::Boolean) |
| virtual void | assign (Impl *&var, LLSD::Integer) |
| virtual void | assign (Impl *&var, LLSD::Real) |
| virtual void | assign (Impl *&var, const LLSD::String &) |
| virtual void | assign (Impl *&var, const LLSD::UUID &) |
| virtual void | assign (Impl *&var, const LLSD::Date &) |
| virtual void | assign (Impl *&var, const LLSD::URI &) |
| virtual void | assign (Impl *&var, const LLSD::Binary &) |
| If the receiver is the right type and unshared, these are simple. | |
| virtual Boolean | asBoolean () const |
| virtual Integer | asInteger () const |
| virtual Real | asReal () const |
| virtual String | asString () const |
| virtual UUID | asUUID () const |
| virtual Date | asDate () const |
| virtual URI | asURI () const |
| virtual Binary | asBinary () const |
| virtual bool | has (const String &) const |
| virtual LLSD | get (const String &) const |
| virtual void | erase (const String &) |
| virtual const LLSD & | ref (const String &) const |
| virtual int | size () const |
| virtual LLSD | get (Integer) const |
| virtual void | erase (Integer) |
| virtual const LLSD & | ref (Integer) const |
| virtual LLSD::map_const_iterator | beginMap () const |
| virtual LLSD::map_const_iterator | endMap () const |
| virtual LLSD::array_const_iterator | beginArray () const |
| virtual LLSD::array_const_iterator | endArray () const |
Static Public Member Functions | |
| static void | reset (Impl *&var, Impl *impl) |
| safely set var to refer to the new impl (possibly shared) | |
| static Impl & | safe (Impl *) |
| static const Impl & | safe (const Impl *) |
| since a NULL Impl* is used for undefined, this ensures there is | |
| static void | assignUndefined (LLSD::Impl *&var) |
| static void | assign (LLSD::Impl *&var, const LLSD::Impl *other) |
| static const LLSD & | undef () |
Static Public Attributes | |
| static U32 | sAllocationCount = 0 |
| static U32 | sOutstandingCount = 0 |
Protected Types | |
| enum | StaticAllocationMarker { STATIC } |
Protected Member Functions | |
| Impl () | |
| Impl (StaticAllocationMarker) | |
| This constructor is used for static objects and causes the. | |
| virtual | ~Impl () |
| bool | shared () const |
Private Attributes | |
| U32 | mUseCount |
Definition at line 57 of file llsd.cpp.
enum LLSD::Impl::StaticAllocationMarker [protected] |
| LLSD::Impl::Impl | ( | ) | [protected] |
| LLSD::Impl::Impl | ( | StaticAllocationMarker | ) | [protected] |
| LLSD::Impl::~Impl | ( | ) | [protected, virtual] |
| bool LLSD::Impl::shared | ( | ) | const [inline, protected] |
Definition at line 79 of file llsd.cpp.
Referenced by LLSDUnnamedNamespace::ImplArray::makeArray(), and LLSDUnnamedNamespace::ImplMap::makeMap().

safely set var to refer to the new impl (possibly shared)
Definition at line 558 of file llsd.cpp.
References mUseCount.
Referenced by assign(), assignUndefined(), makeArray(), makeMap(), and LLSD::~LLSD().

| LLSD::Impl & LLSD::Impl::safe | ( | Impl * | impl | ) | [static] |
Definition at line 568 of file llsd.cpp.
References STATIC.
Referenced by LLSDUnnamedNamespace::makeArray(), LLSDUnnamedNamespace::makeMap(), and LLSDUnnamedNamespace::safe().

| const LLSD::Impl & LLSD::Impl::safe | ( | const Impl * | impl | ) | [static] |
Reimplemented in LLSDUnnamedNamespace::ImplMap.
Definition at line 580 of file llsd.cpp.
References reset().

| virtual LLSD::Type LLSD::Impl::type | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplBase< T, Data, DataRef >, LLSDUnnamedNamespace::ImplMap, LLSDUnnamedNamespace::ImplArray, LLSDUnnamedNamespace::ImplBase< const LLSD::TypeDate, LLDate, LLDate & >, LLSDUnnamedNamespace::ImplBase< LLSD::TypeBoolean, bool >, LLSDUnnamedNamespace::ImplBase< const LLSD::TypeURI, LLURI, LLURI & >, LLSDUnnamedNamespace::ImplBase< LLSD::TypeInteger, S32 >, LLSDUnnamedNamespace::ImplBase< const LLSD::TypeString, std::string, std::string & >, LLSDUnnamedNamespace::ImplBase< const LLSD::TypeBinary, std::vector< U8 >, std::vector< U8 > & >, LLSDUnnamedNamespace::ImplBase< LLSD::TypeReal, F64 >, and LLSDUnnamedNamespace::ImplBase< const LLSD::TypeUUID, LLUUID, LLUUID & >.
Definition at line 94 of file llsd.cpp.
References LLSD::TypeUndefined.
Referenced by LLSD::type().

| void LLSD::Impl::assignUndefined | ( | LLSD::Impl *& | var | ) | [static] |
Definition at line 600 of file llsd.cpp.
References reset().
Referenced by LLSD::clear().


| void LLSD::Impl::assign | ( | LLSD::Impl *& | var, | |
| const LLSD::Impl * | other | |||
| ) | [static] |
Definition at line 595 of file llsd.cpp.
References reset().
Referenced by LLSD::assign().


| void LLSD::Impl::assign | ( | Impl *& | var, | |
| LLSD::Boolean | v | |||
| ) | [virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplBase< LLSD::TypeBoolean, bool >.
Definition at line 605 of file llsd.cpp.
References reset().

| void LLSD::Impl::assign | ( | Impl *& | var, | |
| LLSD::Integer | v | |||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| LLSD::Real | v | |||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::String & | v | |||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::UUID & | v | |||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::Date & | v | |||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::Binary & | v | |||
| ) | [virtual] |
| virtual Boolean LLSD::Impl::asBoolean | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplBoolean, LLSDUnnamedNamespace::ImplInteger, LLSDUnnamedNamespace::ImplReal, LLSDUnnamedNamespace::ImplString, LLSDUnnamedNamespace::ImplMap, and LLSDUnnamedNamespace::ImplArray.
Definition at line 111 of file llsd.cpp.
Referenced by LLSD::asBoolean().

| virtual Integer LLSD::Impl::asInteger | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplBoolean, LLSDUnnamedNamespace::ImplInteger, LLSDUnnamedNamespace::ImplReal, LLSDUnnamedNamespace::ImplString, and LLSDUnnamedNamespace::ImplDate.
Definition at line 112 of file llsd.cpp.
Referenced by LLSD::asInteger().

| virtual Real LLSD::Impl::asReal | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplBoolean, LLSDUnnamedNamespace::ImplInteger, LLSDUnnamedNamespace::ImplReal, LLSDUnnamedNamespace::ImplString, and LLSDUnnamedNamespace::ImplDate.
Definition at line 113 of file llsd.cpp.
Referenced by LLSD::asReal().

| virtual String LLSD::Impl::asString | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplBoolean, LLSDUnnamedNamespace::ImplInteger, LLSDUnnamedNamespace::ImplReal, LLSDUnnamedNamespace::ImplString, LLSDUnnamedNamespace::ImplUUID, LLSDUnnamedNamespace::ImplDate, and LLSDUnnamedNamespace::ImplURI.
Definition at line 114 of file llsd.cpp.
Referenced by LLSD::asString().

| virtual UUID LLSD::Impl::asUUID | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplString, and LLSDUnnamedNamespace::ImplUUID.
Definition at line 115 of file llsd.cpp.
Referenced by LLSD::asUUID().

| virtual Date LLSD::Impl::asDate | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplString, and LLSDUnnamedNamespace::ImplDate.
Definition at line 116 of file llsd.cpp.
Referenced by LLSD::asDate().

| virtual URI LLSD::Impl::asURI | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplString, and LLSDUnnamedNamespace::ImplURI.
Definition at line 117 of file llsd.cpp.
Referenced by LLSD::asURI().

| virtual Binary LLSD::Impl::asBinary | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplBinary.
Definition at line 118 of file llsd.cpp.
Referenced by LLSD::asBinary().

| virtual bool LLSD::Impl::has | ( | const String & | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplMap.
Definition at line 120 of file llsd.cpp.
Referenced by LLSD::has().

Reimplemented in LLSDUnnamedNamespace::ImplMap.
Definition at line 121 of file llsd.cpp.
Referenced by LLSD::get().

| virtual void LLSD::Impl::erase | ( | const String & | ) | [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplMap.
Definition at line 123 of file llsd.cpp.
References indra::base::llsd::undef.
Referenced by LLSD::operator[]().

| virtual int LLSD::Impl::size | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplMap, and LLSDUnnamedNamespace::ImplArray.
Definition at line 125 of file llsd.cpp.
Referenced by LLSD::size().

| virtual void LLSD::Impl::erase | ( | Integer | ) | [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplArray.
Definition at line 128 of file llsd.cpp.
References indra::base::llsd::undef.
| virtual LLSD::map_const_iterator LLSD::Impl::beginMap | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplMap.
Definition at line 130 of file llsd.cpp.
Referenced by LLSD::beginMap().

| virtual LLSD::map_const_iterator LLSD::Impl::endMap | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplMap.
Definition at line 131 of file llsd.cpp.
Referenced by LLSD::endMap().

| virtual LLSD::array_const_iterator LLSD::Impl::beginArray | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplArray.
Definition at line 132 of file llsd.cpp.
Referenced by LLSD::beginArray().

| virtual LLSD::array_const_iterator LLSD::Impl::endArray | ( | ) | const [inline, virtual] |
Reimplemented in LLSDUnnamedNamespace::ImplArray.
Definition at line 133 of file llsd.cpp.
Referenced by LLSD::endArray().

| const LLSD & LLSD::Impl::undef | ( | ) | [static] |
Definition at line 646 of file llsd.cpp.
Referenced by LLSDUnnamedNamespace::ImplArray::ref(), and LLSDUnnamedNamespace::ImplMap::ref().

U32 LLSD::Impl::mUseCount [private] |
U32 LLSD::Impl::sAllocationCount = 0 [static] |
U32 LLSD::Impl::sOutstandingCount = 0 [static] |
Definition at line 138 of file llsd.cpp.
Referenced by Impl(), LLSD::outstandingCount(), and ~Impl().
1.5.5