class CCL::AttributeAccessor
Overview
#include <iattributelist.h> class AttributeAccessor: public CCL::AttributeReader, public CCL::AttributeWriter { public: // construction AttributeAccessor (IAttributeList& attributes); // methods virtual IAttributeList& getList (); virtual const IAttributeList& getList () const; };
Inherited Members
public: // methods virtual const IAttributeList& getList () const = 0; Variant getVariant (StringID id) const; int64 getInt64 (StringID id) const; int getInt (StringID id) const; bool getBool (StringID id) const; double getFloat (StringID id) const; String getString (StringID id) const; MutableCString getCString (StringID id, TextEncoding encoding = Text::kASCII) const; IUnknown* getUnknown (StringID id) const; IUnknownIterator* newUnknownIterator (StringID id) const; tresult getResult (StringID id) const; bool getInt64 (int64& value, StringID id) const; bool getInt (int& value, StringID id) const; bool getBool (bool& value, StringID id) const; bool getFloat (double& value, StringID id) const; bool getFloat (float& value, StringID id) const; bool getString (String& value, StringID id) const; bool getCString ( MutableCString& value, StringID id, TextEncoding encoding = Text::kASCII ) const; bool getUnknown (IUnknown*& value, StringID id) const; virtual IAttributeList& getList () = 0; IAttributeList* newAttributes (); IAttributeQueue* newAttributeQueue (); IAttributeList* newPersistentAttributes (); bool set (StringID id, int64 v); bool set (StringID id, int v); bool set (StringID id, tresult v); bool set (StringID id, bool b, int flags = 0); bool set (StringID id, double v); bool set (StringID id, StringRef s); bool set (StringID id, CStringRef s, TextEncoding encoding = Text::kASCII); bool set (StringID id, CStringPtr s, TextEncoding encoding = Text::kASCII); bool set (StringID id, IUnknown* u, int flags = 0); bool queue (StringID id, IUnknown* u, int flags = 0); IUnknown* unqueueUnknown (StringID id);
Detailed Documentation
Methods
virtual IAttributeList& getList ()
Get associated attribute list.
virtual const IAttributeList& getList () const
Get associated attribute list.