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 | |
| STATIC | |
| 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 44 of file llsd.cpp.
enum LLSD::Impl::StaticAllocationMarker [protected] |
| LLSD::Impl::Impl | ( | ) | [protected] |
| LLSD::Impl::Impl | ( | StaticAllocationMarker | ) | [protected] |
| LLSD::Impl::~Impl | ( | ) | [protected, virtual] |
| virtual Binary LLSD::Impl::asBinary | ( | ) | const [inline, virtual] |
| virtual Boolean LLSD::Impl::asBoolean | ( | ) | const [inline, virtual] |
| virtual Date LLSD::Impl::asDate | ( | ) | const [inline, virtual] |
| virtual Integer LLSD::Impl::asInteger | ( | ) | const [inline, virtual] |
| virtual Real LLSD::Impl::asReal | ( | ) | const [inline, virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::Binary & | ||||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::Date & | ||||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::UUID & | ||||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| const LLSD::String & | ||||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| LLSD::Real | ||||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| LLSD::Integer | ||||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | Impl *& | var, | |
| LLSD::Boolean | ||||
| ) | [virtual] |
| void LLSD::Impl::assign | ( | LLSD::Impl *& | var, | |
| const LLSD::Impl * | other | |||
| ) | [static] |
| void LLSD::Impl::assignUndefined | ( | LLSD::Impl *& | var | ) | [static] |
| virtual String LLSD::Impl::asString | ( | ) | const [inline, virtual] |
| virtual URI LLSD::Impl::asURI | ( | ) | const [inline, virtual] |
| virtual UUID LLSD::Impl::asUUID | ( | ) | const [inline, virtual] |
| virtual LLSD::array_const_iterator LLSD::Impl::beginArray | ( | ) | const [inline, virtual] |
| virtual LLSD::map_const_iterator LLSD::Impl::beginMap | ( | ) | const [inline, virtual] |
| virtual LLSD::array_const_iterator LLSD::Impl::endArray | ( | ) | const [inline, virtual] |
| virtual LLSD::map_const_iterator LLSD::Impl::endMap | ( | ) | const [inline, virtual] |
| virtual bool LLSD::Impl::has | ( | const String & | ) | const [inline, virtual] |
| ImplArray & LLSD::Impl::makeArray | ( | Impl *& | var | ) | [virtual] |
sure var is a modifiable, non-shared map or array
Definition at line 565 of file llsd.cpp.
References reset().
Referenced by makeArray().
| ImplMap & LLSD::Impl::makeMap | ( | Impl *& | var | ) | [virtual] |
safely set var to refer to the new impl (possibly shared)
Definition at line 536 of file llsd.cpp.
References LLSD::impl, and mUseCount.
Referenced by assign(), assignUndefined(), makeArray(), makeMap(), and LLSD::~LLSD().
| const LLSD::Impl & LLSD::Impl::safe | ( | const Impl * | ) | [static] |
since a NULL Impl* is used for undefined, this ensures there is
Definition at line 552 of file llsd.cpp.
References LLSD::impl, and STATIC.
| LLSD::Impl & LLSD::Impl::safe | ( | Impl * | ) | [static] |
| bool LLSD::Impl::shared | ( | ) | const [inline, protected] |
| virtual int LLSD::Impl::size | ( | ) | const [inline, virtual] |
| virtual LLSD::Type LLSD::Impl::type | ( | ) | const [inline, virtual] |
| const LLSD & LLSD::Impl::undef | ( | ) | [static] |
U32 LLSD::Impl::mUseCount [private] |
U32 LLSD::Impl::sAllocationCount = 0 [static] |
U32 LLSD::Impl::sOutstandingCount = 0 [static] |
Definition at line 125 of file llsd.cpp.
Referenced by Impl(), LLSD::outstandingCount(), and ~Impl().
1.4.7