Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::IffTextWriter

Presents an interface compatible with IffWriter, writes a text version of the binary IFF.

Construct with the result of StreamRecorder to verify that the text matches the binary exactly.

Functions

Friends

NameDescription
friend void WriteArray(IffTextWriter &writer, const GeoProperty< T, name, isFlaky > &p)

Write a property that can be converted to GeoArray.

friend void WriteArray(IffTextWriter &writer, const GeoProperty< T, name, isFlaky > &p, Geo::u32 sections)

Write a property that can be converted to GeoArray, with a sections argument.

friend void WriteArray(IffTextWriter &writer, const GeoProperty< T, name, isFlaky > &p, WriteElement writeElement)

Write a property that can be converted to GeoArray, with a per-element write function.

friend bool WriteDataBlock(const Geo::GeoProperty< T, name, isFlaky > &data, IffTextWriter &writer)

Write a data block property.

friend void WriteMap(IffTextWriter &writer, const GeoProperty< T, name, isFlaky > &p)

Write a property that can be converted to GeoMap.

friend void WriteObject(Geo::IffTextWriter &writer, ArrayRange< T > range)

WriteObject overload for ArrayRange.

friend void WriteProperty(IffTextWriter &writer, const char *name, const T &value, bool isFlaky=false)

Write a property with a name (friend)

friend void WriteRange(IffTextWriter &writer, const GeoProperty< T, name, isFlaky > first, const GeoProperty< T, name, isFlaky > last)

Write a property range: e.g. WriteArray(writer, property, property + count)


Anchor
a2fca9511981c4bdce2617767e6fc05b2
a2fca9511981c4bdce2617767e6fc05b2

void Geo::IffTextWriter::BeginChunk

...

public: void BeginChunk
(
    u32 type
)

...

Matches IffWriter::EndChunk.


Anchor
a666d9203d169530d67f9a81558bef7f6
a666d9203d169530d67f9a81558bef7f6

void Geo::IffTextWriter::BeginFile

...

public: void BeginFile
(
    u32 fileType,
    u32 fileVersion
)

...

Matches IffWriter::BeginFile.


Anchor
a397da23aa52019413bed01af218c7f1c
a397da23aa52019413bed01af218c7f1c

void Geo::IffTextWriter::EndChunk

...

public: void EndChunk()

...

Matches IffWriter::EndChunk.


Anchor
a72becc78613159e70c454114b85e2352
a72becc78613159e70c454114b85e2352

void Geo::IffTextWriter::EndFile

...

public: void EndFile()

...

Matches IffWriter::EndFile.


Anchor
af4bc08e36de644008241aa3cbb41afa0
af4bc08e36de644008241aa3cbb41afa0

void Geo::IffTextWriter::Fail

...

public: void Fail()

...

For compatibility with IffWriter.


Anchor
ad31fe96a58e8cc2a5793bfe894242092
ad31fe96a58e8cc2a5793bfe894242092

Geo::IffTextWriter::IffTextWriter

...

public: IffTextWriter
(
    IGeoStream & stream,
    GeoArray< Impl::TypeBlock > typeBlocks
)

...

Constructor.


Anchor
add15babb71198973af7fd6ea3165f451
add15babb71198973af7fd6ea3165f451

bool Geo::IffTextWriter::IsOk

...

public: bool IsOk() const

...

For compatibility with IGeoStream.


Anchor
add44b00c24b0e77131a2ca0ab1a9e42b
add44b00c24b0e77131a2ca0ab1a9e42b

bool Geo::IffTextWriter::IsWriterOk

...

public: bool IsWriterOk() const

...

For compatibility with IffWriter.


Anchor
a7d69a544868521d858583dda1f65fd1d
a7d69a544868521d858583dda1f65fd1d

void Geo::IffTextWriter::Write

...

public: void Write
(
    const GeoProperty< T, name, isFlaky > & p
)

...

Write a property.


Anchor
abb4510266f8b6e47ca7d906e729fbf25
abb4510266f8b6e47ca7d906e729fbf25

void Geo::IffTextWriter::Write

...

public: void Write
(
    const GeoProperty< T, name, isFlaky > first,
    const GeoProperty< T, name, isFlaky > last
)

...

Write a property range: e.g. Write(property, property + count)


Anchor
abbbad07533ebfea75cd5e1c46ad17778
abbbad07533ebfea75cd5e1c46ad17778

void Geo::IffTextWriter::WriteProperty

...

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

...

Write a property with a name.