Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.LoadSave.BaseXmlLoader Class Reference
Inheritance diagram for Dragengine.LoadSave.BaseXmlLoader:
Dragengine.Audio.Announcer.LoadAnnouncer Dragengine.Audio.DynamicMusic.LoadDynamicMusic Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound Dragengine.LoadSave.LoadAnimator Dragengine.LoadSave.LoadBehaviorTree Dragengine.LoadSave.LoadBindings Dragengine.LoadSave.LoadBorder Dragengine.LoadSave.LoadCamera Dragengine.LoadSave.LoadCanvasCreator Dragengine.LoadSave.LoadConversation Dragengine.LoadSave.LoadDecoration Dragengine.LoadSave.LoadElementClass Dragengine.LoadSave.LoadGuiTheme Dragengine.LoadSave.LoadHeightTerrain Dragengine.LoadSave.LoadMousePointer Dragengine.LoadSave.LoadParameterTree Dragengine.LoadSave.LoadParticleEmitter Dragengine.LoadSave.LoadSimpleConversation Dragengine.LoadSave.LoadSkinAnnotations Dragengine.LoadSave.LoadSky Dragengine.LoadSave.LoadSpeechAnimation Dragengine.LoadSave.LoadStateMachine Dragengine.LoadSave.LoadStyledTextDefinition Dragengine.LoadSave.LoadSynthesizer Dragengine.LoadSave.LoadWidgetDesigner Dragengine.LoadSave.LoadWorld

Public Member Functions

Console getConsole ()
String getName ()
int hexToInt (byte hex)
void logDeprecated (EasyXMLElement tag, String whatIsDeprecated)
void logDeprecated (EasyXMLElement tag, String whatIsDeprecated, String useWhatInstead)
void logDeprecatedTag (EasyXMLElement tag)
void logDuplicateObject (EasyXMLElement tag, String object, String identifier)
 Output error message duplicate object on the application console.
void logIncompatibleAttributes (EasyXMLElement tag, String attributeNames)
void logInvalidAttribute (String filename, EasyXMLElement tag, String attribute)
 Log attribute not allowed.
void logInvalidAttributeValue (EasyXMLElement tag, String attribute, String value)
void logInvalidEmptyString (EasyXMLElement tag)
void logInvalidValue (EasyXMLElement tag, String value)
void logInvalidValue (String filename, EasyXMLElement tag, String value)
void logLoadFileFailed (EasyXMLElement tag, String filename)
void logLoadingFailed (String filename)
 Log loading file failed with error log.
void logLoadingFromFile (String filename)
void logMissingAttribute (EasyXMLElement tag, String attrName)
void logMissingCData (EasyXMLElement tag)
void logMissingTag (String tagName)
void logNotSupported (EasyXMLElement tag, String whatIsNotSupported)
void logObjectExists (EasyXMLElement tag, String object, String value)
 Output error message value exists already on the application console.
void logParsingFailed (String errorLog)
void logSavingFailed (String filename)
 Log saving to file failed with error log.
void logSavingFromFile (String filename)
 Log filename on the application console.
void logUnknownTag (EasyXMLElement tag)
void logUnknownTag (String filename, EasyXMLElement tag)
BaseXmlLoader new (Console console, String name)
void printOnConsole (EasyXMLElement tag, String errorMessage)
void printOnConsole (String filename, EasyXMLElement tag, String message)
 Print message on console.
void printOnConsole (String filename, String message)
 Print message on console.
void printOnConsole (String message)
BorderSize readBorderSize (EasyXMLElement root)
 Read border size area.
int readCDataHex (EasyXMLElement tag)
Color readColor (EasyXMLElement root)
Color readColor (EasyXMLElement root, Color defaultColor)
ColorMatrix readColorMatrix (EasyXMLElement root)
 Read color matrix.
CurveBezier readCurveBezier (EasyXMLElement root)
CurveBezier3D readCurveBezier3D (EasyXMLElement root)
 Read 3D curve tag.
DVector readDVector (EasyXMLElement root)
FloatRectArea readFloatRectArea (EasyXMLElement root)
 Read floating point rectangular area.
Font readFont (EasyXMLElement root)
 Parse font tag.
Font readFont (EasyXMLElement root, String basePath)
 Parse font tag.
String readMultilineString (EasyXMLElement root)
 Multi-line string or an empty string if absent.
Point readPoint (EasyXMLElement root)
Point3 readPoint3 (EasyXMLElement root)
RectArea readRectArea (EasyXMLElement root)
 Read rectangular area.
Vector readVector (EasyXMLElement root)
Vector2 readVector2 (EasyXMLElement root)
Vector2 readVector2UV (EasyXMLElement root)
Quaternion readVectorAsQuaternion (EasyXMLElement root)
 Read vector tag as quaternion.
void writeBorderSize (EasyXMLElement root, String name, BorderSize size)
 Write borderSize tag.
void writeBorderSize (EasyXMLElement tag, BorderSize size)
 Write borderSize tag.
void writeColor3 (EasyXMLElement root, String name, Color color)
 Write 3-component color tag using rgb attributes.
void writeColor3 (EasyXMLElement tag, Color color)
 Write 3-component color tag using rgb attributes.
void writeColor4 (EasyXMLElement root, String name, Color color)
 Write 4-component color tag using rgba attributes.
void writeColor4 (EasyXMLElement tag, Color color)
 Write 4-component color tag using rgba attributes.
void writeCurveBezier (EasyXMLElement root, String name, CurveBezier curve)
 Write bezier curve tag.
void writeCurveBezier (EasyXMLElement tag, CurveBezier curve)
 Write bezier curve tag.
void writeCurveBezier3D (EasyXMLElement root, String name, CurveBezier3D curve)
 Write 3D bezier curve tag.
void writeCurveBezier3D (EasyXMLElement tag, CurveBezier3D curve)
 Write 3D bezier curve tag.
void writeCurveBezier3DPoint (EasyXMLElement root, String name, CurveBezier3D curve, int point)
 Write 3D bezier curve point tag.
void writeCurveBezier3DPoint (EasyXMLElement tag, CurveBezier3D curve, int point)
 Write 3D bezier curve point tag.
void writeCurveBezierPoint (EasyXMLElement root, String name, CurveBezier curve, int point)
 Write bezier curve point tag.
void writeCurveBezierPoint (EasyXMLElement tag, CurveBezier curve, int point)
 Write bezier curve point tag.
void writeDVector (EasyXMLElement root, String name, DVector vector)
 Write vector tag.
void writeDVector (EasyXMLElement tag, DVector vector)
 Write vector tag.
void writeFloatRectArea (EasyXMLElement root, String name, FloatRectArea rectArea)
 Write floatRectRea tag.
void writeFloatRectArea (EasyXMLElement tag, FloatRectArea rectArea)
 Write floatRectRea tag.
void writePoint (EasyXMLElement root, String name, Point point)
 Write point tag.
void writePoint (EasyXMLElement tag, Point point)
 Write point tag.
void writePoint3 (EasyXMLElement root, String name, Point3 point)
 Write point3 tag.
void writePoint3 (EasyXMLElement tag, Point3 point)
 Write point3 tag.
void writeRectArea (EasyXMLElement root, String name, RectArea rectArea)
 Write rectArea tag.
void writeRectArea (EasyXMLElement tag, RectArea rectArea)
 Write rectArea tag.
void writeVector (EasyXMLElement root, String name, Vector vector)
 Write vector tag.
void writeVector (EasyXMLElement tag, Vector vector)
 Write vector tag.
void writeVector2 (EasyXMLElement root, String name, Vector2 vector)
 Write vector2 tag.
void writeVector2 (EasyXMLElement tag, Vector2 vector)
 Write vector2 tag.

Public Attributes

Console pConsole
String pLogFilename
String pName

Protected Member Functions

Object loadAndParseRootTag (String filename, bool stripComments, bool cleanCharData, String rootTagName, Block parseBlock)
 Load file safely.
Object loadAndParseRootTag (String filename, String rootTagName, Block parseBlock)
 Load file safely.

Detailed Description

Basic xml loader class providing functionality useful across various xml file loaders. Stores also a name and a console so the error functions are more generic.

Member Function Documentation

◆ getConsole()

Console Dragengine.LoadSave.BaseXmlLoader.getConsole ( )

Retrieves the console.

References pConsole, pLogFilename, and pName.

Referenced by getName().

◆ getName()

String Dragengine.LoadSave.BaseXmlLoader.getName ( )

Retrieves the name.

References getConsole(), and pConsole.

Referenced by readMultilineString().

◆ hexToInt()

int Dragengine.LoadSave.BaseXmlLoader.hexToInt ( byte hex)

Converts a hex value to an integer value.

References readVectorAsQuaternion().

Referenced by logNotSupported(), writeFloatRectArea(), and writeRectArea().

◆ loadAndParseRootTag() [1/2]

Object Dragengine.LoadSave.BaseXmlLoader.loadAndParseRootTag ( String filename,
bool stripComments,
bool cleanCharData,
String rootTagName,
Block parseBlock )
protected

Load file safely.

Loads file inside a try-catch block to report failures in a debuggable way. The file is loaded then checked if the root tag has the correct name. Then the block is called to parse the root tag. The block receives as only parameter the root tag of type EasyXMLElement. The return value of the block is returned.

References readPoint().

◆ loadAndParseRootTag() [2/2]

Object Dragengine.LoadSave.BaseXmlLoader.loadAndParseRootTag ( String filename,
String rootTagName,
Block parseBlock )
protected

◆ logDeprecated() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.logDeprecated ( EasyXMLElement tag,
String whatIsDeprecated )

Outputs an deprecated message on the application console.

Referenced by logNotSupported().

◆ logDeprecated() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.logDeprecated ( EasyXMLElement tag,
String whatIsDeprecated,
String useWhatInstead )

Outputs an deprecated message on the application console.

References readColor().

◆ logDeprecatedTag()

void Dragengine.LoadSave.BaseXmlLoader.logDeprecatedTag ( EasyXMLElement tag)

Outputs an deprecated message on the application console.

References readColor().

Referenced by logNotSupported().

◆ logDuplicateObject()

void Dragengine.LoadSave.BaseXmlLoader.logDuplicateObject ( EasyXMLElement tag,
String object,
String identifier )

◆ logIncompatibleAttributes()

void Dragengine.LoadSave.BaseXmlLoader.logIncompatibleAttributes ( EasyXMLElement tag,
String attributeNames )

Outputs error message about incompatible attributes.

References readColor().

Referenced by logNotSupported().

◆ logInvalidAttribute()

void Dragengine.LoadSave.BaseXmlLoader.logInvalidAttribute ( String filename,
EasyXMLElement tag,
String attribute )

Log attribute not allowed.

Referenced by logNotSupported().

◆ logInvalidAttributeValue()

void Dragengine.LoadSave.BaseXmlLoader.logInvalidAttributeValue ( EasyXMLElement tag,
String attribute,
String value )

Outputs error message invalid attribute value on the application console.

Referenced by logNotSupported().

◆ logInvalidEmptyString()

void Dragengine.LoadSave.BaseXmlLoader.logInvalidEmptyString ( EasyXMLElement tag)

Outputs error message invalid empty string on the application console.

Referenced by logNotSupported().

◆ logInvalidValue() [1/2]

◆ logInvalidValue() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.logInvalidValue ( String filename,
EasyXMLElement tag,
String value )

Outputs error message invalid value on the application console.

◆ logLoadFileFailed()

void Dragengine.LoadSave.BaseXmlLoader.logLoadFileFailed ( EasyXMLElement tag,
String filename )

◆ logLoadingFailed()

◆ logLoadingFromFile()

◆ logMissingAttribute()

void Dragengine.LoadSave.BaseXmlLoader.logMissingAttribute ( EasyXMLElement tag,
String attrName )

Outputs error message missing attribute on the application console.

References readColor().

Referenced by Dragengine.LoadSave.LoadElementClass.addXmlElementClasses(), logNotSupported(), and Dragengine.LoadSave.LoadSimpleConversation.readCondLogic().

◆ logMissingCData()

void Dragengine.LoadSave.BaseXmlLoader.logMissingCData ( EasyXMLElement tag)

Outputs error message missing attribute on the application console.

Referenced by logNotSupported().

◆ logMissingTag()

void Dragengine.LoadSave.BaseXmlLoader.logMissingTag ( String tagName)

Outputs error message missing tag on the application console.

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadBindings.writeBindings().

◆ logNotSupported()

◆ logObjectExists()

void Dragengine.LoadSave.BaseXmlLoader.logObjectExists ( EasyXMLElement tag,
String object,
String value )

Output error message value exists already on the application console.

Referenced by logNotSupported().

◆ logParsingFailed()

◆ logSavingFailed()

void Dragengine.LoadSave.BaseXmlLoader.logSavingFailed ( String filename)

Log saving to file failed with error log.

Referenced by logNotSupported().

◆ logSavingFromFile()

void Dragengine.LoadSave.BaseXmlLoader.logSavingFromFile ( String filename)

◆ logUnknownTag() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.logUnknownTag ( EasyXMLElement tag)

◆ logUnknownTag() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.logUnknownTag ( String filename,
EasyXMLElement tag )

Outputs error message invalid axis on the application console.

◆ new()

◆ printOnConsole() [1/4]

void Dragengine.LoadSave.BaseXmlLoader.printOnConsole ( EasyXMLElement tag,
String errorMessage )

Outputs an error message on the application console.

◆ printOnConsole() [2/4]

void Dragengine.LoadSave.BaseXmlLoader.printOnConsole ( String filename,
EasyXMLElement tag,
String message )

Print message on console.

References readColor().

◆ printOnConsole() [3/4]

void Dragengine.LoadSave.BaseXmlLoader.printOnConsole ( String filename,
String message )

Print message on console.

◆ printOnConsole() [4/4]

◆ readBorderSize()

◆ readCDataHex()

int Dragengine.LoadSave.BaseXmlLoader.readCDataHex ( EasyXMLElement tag)

Read CData as int where the value is stored hexadecial. If no CData is specified 0 is returned. The hexadecimal value is specified as a one or two character value. The characters have to be in the range from 0 to 9, a to f or A to F. No prefix is used. If more than two characters are specified only the first two are used.

Referenced by logNotSupported().

◆ readColor() [1/2]

Color Dragengine.LoadSave.BaseXmlLoader.readColor ( EasyXMLElement root)

Read color tag. The color components are defined using one or more child tags. One group of tags is red, green, blue and alpha to specify the color components in the range from 0 to 1. Another group of tags is intRed, intGreen, intBlue and intAlpha to specify the color components in the range from 0 to 255 where 0 equals to 0 intensity and 255 equals to full intensity. A third group of tags is hexRed, hexGreen, hexBlue and hexAlpha to specify the color components using a 1 or 2 digit hexadecimal number. The hexadecimal number can contain upper or lower case alphabetic characters. No prefix is required. If a component is not specified the default value is used which is 0 for red, green and blue and 1 for alpha.

References readVector2().

Referenced by Dragengine.LoadSave.LoadElementClass.addXmlElementClasses(), logDeprecated(), logDeprecatedTag(), logIncompatibleAttributes(), logMissingAttribute(), logNotSupported(), Dragengine.LoadSave.LoadCanvasCreator.parseCanvasCreator(), Dragengine.LoadSave.LoadDecoration.parseDecoration(), Dragengine.LoadSave.LoadBorder.parseParameter(), Dragengine.LoadSave.LoadMousePointer.parseParameter(), Dragengine.LoadSave.LoadWidgetDesigner.parseWidgetDesigner(), printOnConsole(), writeCurveBezier3D(), writeCurveBezier3DPoint(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ readColor() [2/2]

Color Dragengine.LoadSave.BaseXmlLoader.readColor ( EasyXMLElement root,
Color defaultColor )

Read color tag. The color components are defined using one or more child tags. One group of tags is red, green, blue and alpha to specify the color components in the range from 0 to 1. Another group of tags is intRed, intGreen, intBlue and intAlpha to specify the color components in the range from 0 to 255 where 0 equals to 0 intensity and 255 equals to full intensity. A third group of tags is hexRed, hexGreen, hexBlue and hexAlpha to specify the color components using a 1 or 2 digit hexadecimal number. The hexadecimal number can contain upper or lower case alphabetic characters. No prefix is required. If a component is not specified the default value is used which is 0 for red, green and blue and 1 for alpha.

◆ readColorMatrix()

◆ readCurveBezier()

CurveBezier Dragengine.LoadSave.BaseXmlLoader.readCurveBezier ( EasyXMLElement root)

◆ readCurveBezier3D()

CurveBezier3D Dragengine.LoadSave.BaseXmlLoader.readCurveBezier3D ( EasyXMLElement root)

Read 3D curve tag.

Version
1.26

References readVector().

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ readDVector()

DVector Dragengine.LoadSave.BaseXmlLoader.readDVector ( EasyXMLElement root)

Read double vector tag.

References readMultilineString().

Referenced by Dragengine.LoadSave.LoadWorld.loadSharedFromFile(), and readFont().

◆ readFloatRectArea()

FloatRectArea Dragengine.LoadSave.BaseXmlLoader.readFloatRectArea ( EasyXMLElement root)

◆ readFont() [1/2]

Font Dragengine.LoadSave.BaseXmlLoader.readFont ( EasyXMLElement root)

Parse font tag.

The font properties are defined using child tags. The file tag defines the font file to use while the size tag defines the size of the font object. The size is given as the height of the font in pixels. Both tags are required. If one or both are missing a null font object is returned.

Referenced by logNotSupported(), Dragengine.LoadSave.LoadDecoration.parseDecoration(), Dragengine.LoadSave.LoadBorder.parseParameter(), and Dragengine.LoadSave.LoadWidgetDesigner.parseWidgetDesigner().

◆ readFont() [2/2]

Font Dragengine.LoadSave.BaseXmlLoader.readFont ( EasyXMLElement root,
String basePath )

Parse font tag.

The font properties are defined using child tags. The file tag defines the font file to use while the size tag defines the size of the font object. The size is given as the height of the font in pixels. Both tags are required. If one or both are missing a null font object is returned.

References readDVector().

◆ readMultilineString()

String Dragengine.LoadSave.BaseXmlLoader.readMultilineString ( EasyXMLElement root)

Multi-line string or an empty string if absent.

Multi-line strings support br-tags to add line-breaks. Parsing stops if no more CDATA are present or a non-br tag is encountered.

References getName(), and pName.

Referenced by readDVector().

◆ readPoint()

◆ readPoint3()

Point3 Dragengine.LoadSave.BaseXmlLoader.readPoint3 ( EasyXMLElement root)

◆ readRectArea()

RectArea Dragengine.LoadSave.BaseXmlLoader.readRectArea ( EasyXMLElement root)

◆ readVector()

◆ readVector2()

◆ readVector2UV()

Vector2 Dragengine.LoadSave.BaseXmlLoader.readVector2UV ( EasyXMLElement root)

Read vector2 tag using the uv instead of xy notation.

Referenced by Dragengine.LoadSave.LoadWorld.loadSharedFromFile(), and readColorMatrix().

◆ readVectorAsQuaternion()

Quaternion Dragengine.LoadSave.BaseXmlLoader.readVectorAsQuaternion ( EasyXMLElement root)

Read vector tag as quaternion.

Referenced by hexToInt().

◆ writeBorderSize() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeBorderSize ( EasyXMLElement root,
String name,
BorderSize size )

Write borderSize tag.

Version
1.26

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writeBorderSize() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeBorderSize ( EasyXMLElement tag,
BorderSize size )

Write borderSize tag.

Version
1.26

◆ writeColor3() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeColor3 ( EasyXMLElement root,
String name,
Color color )

Write 3-component color tag using rgb attributes.

Version
1.6

Referenced by logNotSupported().

◆ writeColor3() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeColor3 ( EasyXMLElement tag,
Color color )

Write 3-component color tag using rgb attributes.

Version
1.26

◆ writeColor4() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeColor4 ( EasyXMLElement root,
String name,
Color color )

Write 4-component color tag using rgba attributes.

Version
1.6

References readFloatRectArea().

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writeColor4() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeColor4 ( EasyXMLElement tag,
Color color )

Write 4-component color tag using rgba attributes.

Version
1.26

◆ writeCurveBezier() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezier ( EasyXMLElement root,
String name,
CurveBezier curve )

◆ writeCurveBezier() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezier ( EasyXMLElement tag,
CurveBezier curve )

Write bezier curve tag.

Version
1.26

◆ writeCurveBezier3D() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezier3D ( EasyXMLElement root,
String name,
CurveBezier3D curve )

Write 3D bezier curve tag.

Version
1.26

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writeCurveBezier3D() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezier3D ( EasyXMLElement tag,
CurveBezier3D curve )

Write 3D bezier curve tag.

Version
1.26

References readColor().

◆ writeCurveBezier3DPoint() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezier3DPoint ( EasyXMLElement root,
String name,
CurveBezier3D curve,
int point )

Write 3D bezier curve point tag.

Version
1.26

Referenced by logNotSupported().

◆ writeCurveBezier3DPoint() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezier3DPoint ( EasyXMLElement tag,
CurveBezier3D curve,
int point )

Write 3D bezier curve point tag.

Version
1.26

References readColor().

◆ writeCurveBezierPoint() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezierPoint ( EasyXMLElement root,
String name,
CurveBezier curve,
int point )

Write bezier curve point tag.

Version
1.9

Referenced by logNotSupported().

◆ writeCurveBezierPoint() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeCurveBezierPoint ( EasyXMLElement tag,
CurveBezier curve,
int point )

Write bezier curve point tag.

Version
1.26

◆ writeDVector() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeDVector ( EasyXMLElement root,
String name,
DVector vector )

Write vector tag.

Version
1.6
Note
This will loose prevision due to converting to float.

Referenced by logNotSupported().

◆ writeDVector() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeDVector ( EasyXMLElement tag,
DVector vector )

Write vector tag.

Version
1.26
Note
This will loose prevision due to converting to float.

◆ writeFloatRectArea() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeFloatRectArea ( EasyXMLElement root,
String name,
FloatRectArea rectArea )

Write floatRectRea tag.

Version
1.22

References hexToInt().

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writeFloatRectArea() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeFloatRectArea ( EasyXMLElement tag,
FloatRectArea rectArea )

Write floatRectRea tag.

Version
1.26

◆ writePoint() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writePoint ( EasyXMLElement root,
String name,
Point point )

Write point tag.

Version
1.6

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writePoint() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writePoint ( EasyXMLElement tag,
Point point )

Write point tag.

Version
1.26

◆ writePoint3() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writePoint3 ( EasyXMLElement root,
String name,
Point3 point )

Write point3 tag.

Version
1.6

References readBorderSize().

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writePoint3() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writePoint3 ( EasyXMLElement tag,
Point3 point )

Write point3 tag.

Version
1.26

◆ writeRectArea() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeRectArea ( EasyXMLElement root,
String name,
RectArea rectArea )

Write rectArea tag.

Version
1.22

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writeRectArea() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeRectArea ( EasyXMLElement tag,
RectArea rectArea )

Write rectArea tag.

Version
1.26

References hexToInt().

◆ writeVector() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeVector ( EasyXMLElement root,
String name,
Vector vector )

Write vector tag.

Version
1.6

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writeVector() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeVector ( EasyXMLElement tag,
Vector vector )

Write vector tag.

Version
1.26

References readPoint3().

◆ writeVector2() [1/2]

void Dragengine.LoadSave.BaseXmlLoader.writeVector2 ( EasyXMLElement root,
String name,
Vector2 vector )

Write vector2 tag.

Version
1.6

References readRectArea().

Referenced by logNotSupported(), and Dragengine.LoadSave.LoadParameterTree.writeParameter().

◆ writeVector2() [2/2]

void Dragengine.LoadSave.BaseXmlLoader.writeVector2 ( EasyXMLElement tag,
Vector2 vector )

Write vector2 tag.

Version
1.26

Member Data Documentation

◆ pConsole

Console Dragengine.LoadSave.BaseXmlLoader.pConsole

◆ pLogFilename

String Dragengine.LoadSave.BaseXmlLoader.pLogFilename

Referenced by getConsole(), and logNotSupported().

◆ pName

String Dragengine.LoadSave.BaseXmlLoader.pName

The documentation for this class was generated from the following file: