|
Public Types |
| typedef String(* | ComponentConstantFunc )(const String &) |
| enum | UsageFlags { ufCreateComponent = 0x0001,
ufCreateChildren = 0x0002,
ufCreateChildrenIfNoInstance = 0x0004,
ufFindSubComponent = 0x0008
} |
Public Member Functions |
| | VFFInputStream (InputStream *stream) |
| | VFFInputStream (const String &vffString) |
| virtual | ~VFFInputStream () |
| virtual void | seek (const uint64 &offset, const VCF::SeekType &offsetFrom) |
| virtual uint64 | getSize () |
| | returns the size of the stream.
|
| virtual uchar * | getBuffer () |
| | returns a pointer to the buffer that holds the stream memory
|
| virtual VCF::uint64 | getCurrentSeekPos () |
| | this is a global offset from the beggining of the stream
|
| virtual uint64 | read (unsigned char *bytesToRead, uint64 sizeOfBytes) |
| void | getOuterClassNameAndUUID (String &className, String &UUID, String &fallbackClassName) |
| | retreives the outer most class/UUID that contains all other obejcts in this VFF stream
|
| Component * | readNewComponent () |
| | reads in a new component.
|
| void | readComponentInstance (Component *component) |
| | reads in a Component from the stream, and assigns it's value to the component instance passed in
|
| void | readNewComponentInstance (Component *component) |
| | Assumes we have a new, empty, top level component (typically a FormRootWindow instance), but NO child components yet.
|
| void | setAllComponentsInDesignMode (const bool &val) |
| virtual bool | isEOS () |
Static Public Member Functions |
| static void | registerComponentConstant (const String &name, const String &data) |
| | Register a constant value to be used.
|
| static void | registerComponentConstant (const String &name, ComponentConstantFunc funcPtr) |
| | Register a constant value to be used.
|
| static void | internal_clearComponentConstants () |
| static bool | getComponentConstant (const String &name, String &value) |
| | Returns a value for a specific constant name.
|
| static void | setRootComponent (Component *component) |
| static void | setTransformer (UnitTransformer *val) |
Protected Member Functions |
| void | hexToBin (const String &hexString, VCF::Persistable *persistableObject) |
| void | processAsignmentTokens (const VCFChar &token, const String ¤tSymbol, VCF::Class *clazz) |
| void | processAsignmentTokens (const VCFChar &token, const String ¤tSymbol, const VariantData &key, Class *clazz) |
| void | processDelegateAsignment (const VCFChar &token, const String ¤tSymbol, VCF::Class *clazz) |
| void | readDelegates (Component *component, VCF::Class *clazz) |
| Component * | readObject (Component *componentInstance, int flags) |
| void | assignDeferredProperties (Component *component) |
| Object * | createClassInstance (const String &className, const String &classID, const String &fallbackClassName) |
| Component * | createNewComponent (Component *componentInstance, int flags) |
| String | transform (const String &originalValue) |
Protected Attributes |
| InputStream * | stream_ |
| VFFParser * | parser_ |
| bool | deleteStream_ |
| std::vector< DeferredPropertySetter * > | deferredProperties_ |
| std::vector< DeferredDelegateSetter * > | deferredDelegates_ |
| Component * | topLevelComponent_ |
| bool | atTopLevel_ |
| int32 | componentInputLevel_ |
| bool | topLevelControlVisibility_ |
| bool | setDesignMode_ |
Static Protected Attributes |
| static Component * | rootComponent_ |
| static UnitTransformer * | transformer |
Classes |
| class | DeferredDelegateSetter |
| class | DeferredPropertySetter |