Xml::RStringDictionaryCollectionImpl Class Reference
class Xml::RStringDictionaryCollectionImpl |
Nested Classes and Structures
Constructor & Destructor Documentation
RStringDictionaryCollectionImpl()
RStringDictionaryCollectionImpl | ( | ) | |
Default constructor
- Post-condition
- This object is properly constructed.
RStringDictionaryCollectionImpl(const RStringDictionaryCollectionImpl &)
Member Functions Documentation
Close()
This method cleans up the object before destruction. It releases all resources in accordance to the R Class pattern.
- Post-condition
- This object may be allowed to go out of scope.
ConstructDictionaryL(const TDesC8 &, RStringPool &)
This method constructs a StringDictionary.
-
leave
- KErrXmlDictionaryPluginNotFound If ECom fails to find the object a leave occurs.
Parameters
const TDesC8 & aDictionaryUri | The uri of this Dictionary. |
RStringPool & aStringPool | Contains the RTable for this Dictionary |
CurrentDictionaryL()
This method obtains the current string dictionary in use. Also, serves as a way to test if any dictionaries have been loaded as none needs be.
-
leave
- KErrXmlMissingStringDictionary if there is no dictionary
DestroyMapping(TAny *)
void | DestroyMapping | ( | TAny * | aPtr | ) | [private, static] |
Tidy memory associated with this object.
Parameters
TAny * aPtr | The StringDictionary pointer. |
LocateDictionary(const RString &, MStringDictionary *&)
This method locates an existing loaded Dictionary by it uri name.
Parameters
const RString & aNsUri | The Dictionary uri. |
MStringDictionary *& aStringDictionary | On return, points to the requested Dictionary. |
OpenDictionaryL(const TDesC8 &)
void | OpenDictionaryL | ( | const TDesC8 & | aDictionaryDescription | ) | |
This method loads the Dictionary.
- Pre-condition
- Connect has been called.
- Post-condition
- The Dictionary has been loaded.
Parameters
const TDesC8 & aDictionaryDescription | The Namepspace MIME type. |
OpenL()
This method opens this resource incrementing the reference count. It must be the first method called after construction.
- Post-condition
- The object is ready to be used.
operator=(const RStringDictionaryCollectionImpl &)
Member Data Documentation
RPointerArray< TDtorMapping > iDtorKeyAndDictionaryList
TInt
iRefCount
The reference count for this collection.
MStringDictionary * iStringDictionary
The current Dictionary in use. We do not own this; for quick access only.
RStringPool
iStringPool
The StringPool for the Collection.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.