Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • class Enlighten ResampleTextureParameters
  • class Enlighten Rgba64Linear
  • class Enlighten RgbaCpuTextureSampler
  • class Enlighten RgbmCpuTextureSampler
  • class Enlighten SetLightBankUpdateCounterInfo
  • class Enlighten SetParameterCommand
  • class Enlighten SetProbeSetTransformInfo
  • class Enlighten SetTransparencySamplePositionOffsetInfo
  • class Enlighten SetVisibilityBitsInfo
  • class Enlighten SolveBounceTask
  • class Enlighten SortedLights
  • class Enlighten SourceMeshInstanceMeta
  • class Enlighten SphereVolume
  • class Enlighten Spotlight
  • class Enlighten SpotlightMeta
  • class Enlighten SystemAlbedoData
  • class Enlighten SystemDataBlock
  • class Enlighten SystemDependencies
  • class Enlighten SystemGrouping
  • class Enlighten SystemMeta
  • class Enlighten TaskProcessor
  • class Enlighten TransparencyWorkspace
  • class Enlighten Triangle2D
  • class Enlighten TriggerVolumeTransparencyGeneric
  • class Enlighten UpdateEnvironmentInfo
  • class Enlighten UpdateLightCommandGeneric
  • class Enlighten UpdateLightInfo
  • class Enlighten UpdateLightOptions
  • class Enlighten UpdateManagerLight
  • class Enlighten UpdateManagerProperties
  • class Enlighten UpdateManagerWorkerProperties
  • class Enlighten Vertex2D
  • class Enlighten VisibilityBuffer
  • class Enlighten WorkerFunctionCommand
  • class Enlighten WorkerFunctionParameterCommand
  • class Enlighten WorkerFunctionTwoParametersCommand
  • class Enlighten WorkerFunctorCommand
  • class Enlighten WorkerObjectFunctionCommand
  • class Enlighten WorkerThreadData
  • class Enlighten WorkspaceAllocator
  • class Enlighten XmlWriter
  • namespace Enlighten Errors
  • namespace Enlighten Helpers
  • namespace Enlighten Iff
  • namespace Enlighten InputLightingValidation
  • namespace Enlighten Itt
  • namespace Enlighten OutputTextureState
  • namespace Enlighten UE4
  • namespace Enlighten Version
  • struct Enlighten AllFilter
  • struct Enlighten BakeInputTexture
  • struct Enlighten CachedLightSelector
  • struct Enlighten CachedLightWriter
  • struct Enlighten CanQuickShade
  • struct Enlighten CanQuickShade< LIGHT_TYPE_DIRECTIONAL_LIGHT >
  • struct Enlighten CountLightSizeVisitor
  • struct Enlighten CullCluster
  • struct Enlighten CullClusterGroup
  • struct Enlighten CullingIterator
  • struct Enlighten CullingIterator< LIGHT_TYPE_INVALID, Culler >
  • struct Enlighten CullSystem
  • struct Enlighten eMetaLightingType
  • struct Enlighten ExcludeQuickShadeFilter
  • struct Enlighten ExporterAxes
  • struct Enlighten ExporterMaterial
  • struct Enlighten ExporterMaterialProperties
  • struct Enlighten HashLightVisitor
  • struct Enlighten IndirectionTextureRegions
  • struct Enlighten InstanceDescMinimal
  • struct Enlighten InstanceProperties
  • struct Enlighten LightSelector
  • struct Enlighten LightTypeInfo
  • struct Enlighten LinearColor
  • struct Enlighten NullSurroundingsSampler
  • struct Enlighten OctreeNode
  • struct Enlighten PipelineMaterial
  • struct Enlighten PipelineRadiosityProperties
  • struct Enlighten PipelineWorldAxes
  • struct Enlighten PixelBarycentricWeights
  • struct Enlighten PixelCoord
  • struct Enlighten PointProjectionVertex
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Enlighten XmlWriter

    This is the documentation for Enlighten.

    class Enlighten XmlWriter

    Nov 15, 2019

    class Enlighten::XmlWriter

    Exports pretty-printed XML to a file.

    Functions

    Name Description
    Close()

    Closes the file stream and flushes the stream to disk.

    CloseElement(const char *)

    Close the element previously opened. Call exactly once for each call to OpenElement, in reverse order.

    Failed()

    Returns true if outputting the XML file failed.

    OpenElement(const char *)

    Open an element with the specified name.

    WriteAttribute(bool, const char *, const char *)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, Geo::s32)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, Geo::u32)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, bool)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, float)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, const Geo::GeoVector3 &)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, const Geo::GeoVector4 &)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, const LinearColor &)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, const Geo::Matrix &)

    Writes an attribute with a value.

    WriteAttribute(bool, const char *, const Geo::GeoGuid &)

    Writes an attribute with a value.

    WriteAttribute(const char *, const T &)

    Writes an attribute on the current line.

    WriteAttributeNewLine(const char *, const T &)

    Writes an attribute on a new line.

    WriteComment(bool, const char *)

    Writes a comment.

    WriteComment(const char *)

    Writes the supplied text as a comment on the current line.

    WriteCommentNewLine(const char *)

    Writes the supplied text as a comment on a new line.

    WriteEmptyLine()

    Writes an empty line to the output.

    WriteText(const char *)

    Writes content text on the current line.

    WriteText(bool, const char *)

    Writes content text.

    WriteTextNewLine(const char *)

    Writes content text on a new line.

    XmlWriter(Geo::GeoFileString)

    Constructs an XmlWriter object for writing to "filename" and initializes the output stream.


    void Enlighten::XmlWriter::Close


    public: void Close()


    Closes the file stream and flushes the stream to disk.


    void Enlighten::XmlWriter::CloseElement


    public: void CloseElement
    (
        const char * name
    )


    Close the element previously opened. Call exactly once for each call to OpenElement, in reverse order.


    bool Enlighten::XmlWriter::Failed


    public: bool Failed()


    Returns true if outputting the XML file failed.


    void Enlighten::XmlWriter::OpenElement


    public: void OpenElement
    (
        const char * name
    )


    Open an element with the specified name.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        const char * value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        Geo::s32 value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        Geo::u32 value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        bool value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        float value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        const Geo::GeoVector3 & value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        const Geo::GeoVector4 & value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        const LinearColor & value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        const Geo::Matrix & value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        bool newLine,
        const char * name,
        const Geo::GeoGuid & value
    )


    Writes an attribute with a value.

    Parameters
    newLine

    Write on a new line if true.

    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttribute


    public: void WriteAttribute
    (
        const char * name,
        const T & value
    )


    Writes an attribute on the current line.

    Parameters
    name

    The name of the attribute to write.

    value

    The value to write.


    void Enlighten::XmlWriter::WriteAttributeNewLine


    public: void WriteAttributeNewLine
    (
        const char * name,
        const T & value
    )


    Writes an attribute on a new line.

    Parameters
    name

    The name of the attribute.

    value

    The value of the attribute.


    void Enlighten::XmlWriter::WriteComment


    public: void WriteComment
    (
        bool newLine,
        const char * text
    )


    Writes a comment.

    Parameters
    newLine

    Write on a new line if true.

    text

    The comment text to write.


    void Enlighten::XmlWriter::WriteComment


    public: void WriteComment
    (
        const char * text
    )


    Writes the supplied text as a comment on the current line.


    void Enlighten::XmlWriter::WriteCommentNewLine


    public: void WriteCommentNewLine
    (
        const char * text
    )


    Writes the supplied text as a comment on a new line.


    void Enlighten::XmlWriter::WriteEmptyLine


    public: void WriteEmptyLine()


    Writes an empty line to the output.


    void Enlighten::XmlWriter::WriteText


    public: void WriteText
    (
        const char * text
    )


    Writes content text on the current line.

    Parameters
    text

    The text to write.


    void Enlighten::XmlWriter::WriteText


    public: void WriteText
    (
        bool newLine,
        const char * text
    )


    Writes content text.

    Parameters
    newLine

    Write on a new line if true.

    text

    The text to write.


    void Enlighten::XmlWriter::WriteTextNewLine


    public: void WriteTextNewLine
    (
        const char * text
    )


    Writes content text on a new line.

    Parameters
    text

    The text to write.


    Enlighten::XmlWriter::XmlWriter


    public: XmlWriter
    (
        Geo::GeoFileString filename
    )


    Constructs an XmlWriter object for writing to "filename" and initializes the output stream.

    , multiple selections available,
    {"serverDuration": 9, "requestCorrelationId": "9d16253ad1304eafb44b506ecb4ddafd"}