Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_XMLHelpers Class Reference

A set of routines / class members to write data in XML format. More...

List of all members.

Static Public Member Functions

Getters
static CPLAT::CP_String GetControlTitle (OSControl inControl, ControlKind &inControlKind)
Reading
static CPLAT::CP_DataValueList CreateDataValueList (CPLAT::CP_XMLDocNode *inContainingViewDocNode)
static bool ReadRect (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, CPLAT::CP_Rect &outValue)
static bool ReadHIRect (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, CPLAT::CP_Rect &outValue)
static bool ReadString (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, CPLAT::CP_String &outValue)
static bool ReadSInt16 (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, SInt16 &outValue)
static bool ReadUInt16 (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, UInt16 &outValue)
static bool ReadSInt32 (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, SInt32 &outValue)
static bool ReadUInt32 (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, UInt32 &outValue)
static bool ReadCharData (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, CPLAT::CP_String &outValue)
static bool ReadBool (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, bool &outValue)
static bool ReadBoolean (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, bool &outValue)
static bool ReadOSType (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, OSType &outValue)
static bool ReadRGBColor (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag, CP_RGBColor &outValue)
Subviews
static void HandleSubviews (CPLAT::CP_XMLDocNode *inWindowNode, CPLAT::CP_XMLWriter_Element *inRootElement, CPLAT::CP_XMLWriter_Element *inParentElement)
static void WriteSubviews (CPLAT::CP_XMLDocNode *inParentNode, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement)
static void WriteViewsSubviews (CPLAT::CP_XMLDocNode *inParentNode, const CPLAT::CP_String &inIBClassName, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, CPLAT::CP_Rect &inOutBounds, bool &inOutInPortBounds)
Writing
static void ConvertWindowToXML (OSWindow inWindow)
static void WriteWindow (OSWindow inWindow, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement)
static void WriteControls (OSControl inParentControl, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_Point &inSuperLocation)
static void WriteControl (OSControl inControl, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_Point &inSuperLocation)
Controls
static void WriteDefaultControlKind (OSControl inControl, CPLAT::CP_String &inClassName, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_Point &inSuperLocation, ControlKind &inControlKind)
Misc
static CPLAT::CP_XMLWriter_ElementWriteWidget (const CPLAT::CP_String &inWidgetName, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement)
static CPLAT::CP_XMLWriter_ElementWriteSubviewsCount (CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, UInt32 inSubviewsCount)
static void WriteRect (const CPLAT::CP_Rect &inRect, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WritePoint (const CPLAT::CP_Point &inSize, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteSize (const CPLAT::CP_Size &inSize, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteString (const CPLAT::CP_String &inString, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteSInt16 (SInt16 inSInt16, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteUInt16 (UInt16 inUInt16, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteSInt32 (SInt32 inSInt32, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteUInt32 (UInt32 inUInt32, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteBool (bool inBool, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteOSType (OSType inOSType, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteRGBColor (const CP_RGBColor &inColor, CPLAT::CP_XMLWriter *inXMLWriter, CPLAT::CP_XMLWriter_Element *inParentElement, const CPLAT::CP_String &inClassName)
static void WriteXMLToFile (CPLAT::CP_XMLWriter_Element *inRootElement, const CPLAT::CP_FileSystemSpec &inFileSpec)
XMLResource
static void WriteData_MacXMLResource (const CPLAT::CP_HandleBlock &inData, CPLAT::CP_File &inFile, const CPLAT::CP_String &inResourceNaame, SInt16 inResourceID)
static void WriteData_LinuxXMLResource (const CPLAT::CP_HandleBlock &inData, CPLAT::CP_File &inFile, const CPLAT::CP_String &inResourceNaame)
ChildNodes
static CPLAT::CP_XMLDocNode * FindChildNodeByFirstAttribute (CPLAT::CP_XMLDocNode *inNode, const CPLAT::CP_String &inDataTag)


Detailed Description


Member Function Documentation

static CPLAT::CP_String CP_XMLHelpers::GetControlTitle OSControl  inControl,
ControlKind &  inControlKind
[static]
 

static CPLAT::CP_DataValueList CP_XMLHelpers::CreateDataValueList CPLAT::CP_XMLDocNode *  inContainingViewDocNode  )  [static]
 

static bool CP_XMLHelpers::ReadRect CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
CPLAT::CP_Rect &  outValue
[static]
 

static bool CP_XMLHelpers::ReadHIRect CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
CPLAT::CP_Rect &  outValue
[static]
 

static bool CP_XMLHelpers::ReadString CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
CPLAT::CP_String &  outValue
[static]
 

static bool CP_XMLHelpers::ReadSInt16 CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
SInt16 outValue
[static]
 

static bool CP_XMLHelpers::ReadUInt16 CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
UInt16 outValue
[static]
 

static bool CP_XMLHelpers::ReadSInt32 CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
SInt32 outValue
[static]
 

static bool CP_XMLHelpers::ReadUInt32 CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
UInt32 outValue
[static]
 

static bool CP_XMLHelpers::ReadCharData CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
CPLAT::CP_String &  outValue
[static]
 

static bool CP_XMLHelpers::ReadBool CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
bool &  outValue
[static]
 

static bool CP_XMLHelpers::ReadBoolean CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
bool &  outValue
[static]
 

static bool CP_XMLHelpers::ReadOSType CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
OSType outValue
[static]
 

static bool CP_XMLHelpers::ReadRGBColor CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag,
CP_RGBColor outValue
[static]
 

static void CP_XMLHelpers::HandleSubviews CPLAT::CP_XMLDocNode *  inWindowNode,
CPLAT::CP_XMLWriter_Element inRootElement,
CPLAT::CP_XMLWriter_Element inParentElement
[static]
 

static void CP_XMLHelpers::WriteSubviews CPLAT::CP_XMLDocNode *  inParentNode,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement
[static]
 

static void CP_XMLHelpers::WriteViewsSubviews CPLAT::CP_XMLDocNode *  inParentNode,
const CPLAT::CP_String &  inIBClassName,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
CPLAT::CP_Rect &  inOutBounds,
bool &  inOutInPortBounds
[static]
 

static void CP_XMLHelpers::ConvertWindowToXML OSWindow  inWindow  )  [static]
 

static void CP_XMLHelpers::WriteWindow OSWindow  inWindow,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement
[static]
 

static void CP_XMLHelpers::WriteControls OSControl  inParentControl,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_Point &  inSuperLocation
[static]
 

static void CP_XMLHelpers::WriteControl OSControl  inControl,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_Point &  inSuperLocation
[static]
 

static void CP_XMLHelpers::WriteDefaultControlKind OSControl  inControl,
CPLAT::CP_String &  inClassName,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_Point &  inSuperLocation,
ControlKind &  inControlKind
[static]
 

static CPLAT::CP_XMLWriter_Element* CP_XMLHelpers::WriteWidget const CPLAT::CP_String &  inWidgetName,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement
[static]
 

static CPLAT::CP_XMLWriter_Element* CP_XMLHelpers::WriteSubviewsCount CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
UInt32  inSubviewsCount
[static]
 

static void CP_XMLHelpers::WriteRect const CPLAT::CP_Rect &  inRect,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WritePoint const CPLAT::CP_Point &  inSize,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteSize const CPLAT::CP_Size &  inSize,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteString const CPLAT::CP_String &  inString,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteSInt16 SInt16  inSInt16,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteUInt16 UInt16  inUInt16,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteSInt32 SInt32  inSInt32,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteUInt32 UInt32  inUInt32,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteBool bool  inBool,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteOSType OSType  inOSType,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteRGBColor const CP_RGBColor inColor,
CPLAT::CP_XMLWriter inXMLWriter,
CPLAT::CP_XMLWriter_Element inParentElement,
const CPLAT::CP_String &  inClassName
[static]
 

static void CP_XMLHelpers::WriteXMLToFile CPLAT::CP_XMLWriter_Element inRootElement,
const CPLAT::CP_FileSystemSpec &  inFileSpec
[static]
 

static void CP_XMLHelpers::WriteData_MacXMLResource const CPLAT::CP_HandleBlock inData,
CPLAT::CP_File &  inFile,
const CPLAT::CP_String &  inResourceNaame,
SInt16  inResourceID
[static]
 

static void CP_XMLHelpers::WriteData_LinuxXMLResource const CPLAT::CP_HandleBlock inData,
CPLAT::CP_File &  inFile,
const CPLAT::CP_String &  inResourceNaame
[static]
 

static CPLAT::CP_XMLDocNode* CP_XMLHelpers::FindChildNodeByFirstAttribute CPLAT::CP_XMLDocNode *  inNode,
const CPLAT::CP_String &  inDataTag
[static]
 


The documentation for this class was generated from the following file:
Generated on Sat Sep 17 20:02:36 2005 for CPLAT by  doxygen 1.4.0