Into

Modules

Documentation

classPiiTextInputArchive

#include <PiiTextInputArchive.h>

TextInputArchive reads space-separated textual data.

Inherits PiiInputArchive< PiiTextInputArchive >, PiiArchive, QTextStream

Description

All non-ASCII characters need to be UTF-8 encoded.

Constructors and destructor

Construct a new text input archive that reads the given I/O device.

Public member functions

( )
(
  • char *& value
)
(
  • float & value
)
(
  • double & value
)
(
  • char & value
)
(
  • unsigned char & value
)
void
(
  • void * ptr
  • unsigned int size
)

Read raw binary data from the text archive.

Protected member functions

void
void

Function details

  • PiiTextInputArchive

    ( )

    Construct a new text input archive that reads the given I/O device.

    The device must be open.

    Exceptions
    PiiSerializationException&

    if the device is not open, or it cannot be read from, or the archive format is unknown

  • PiiTextInputArchive & operator>>

    ( )
  • PiiTextInputArchive & operator>>

    (
    • char *& value
    )
  • PiiTextInputArchive & operator>>

    (
    • float & value
    )
    [inline]
  • PiiTextInputArchive & operator>>

    (
    • double & value
    )
    [inline]
  • PiiTextInputArchive & operator>>

    (
    • char & value
    )
    [inline]
  • PiiTextInputArchive & operator>>

    (
    • unsigned char & value
    )
    [inline]
  • void readRawData

    (
    • void * ptr
    • unsigned int size
    )

    Read raw binary data from the text archive.

    The data is base64 decoded after reading.

  • void endDelim

    ()
    [inline, protected]
  • void startDelim

    ()
    [inline, protected]
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.