Collapse All

Anypia Programmer's Documentation |  |

PiaRead::read Method
PiaRead Class PiaRead Members PiaRead Methods Send Feedback

Reads case from file.

C++

    unsigned int read(
        std::istream& in
    );

Parameters

Parameters | Description
std::istream& in | Input stream.

Returns

Returns one of the following possible values:

- 0: successful read, with another record following.
- PIA_IDS_READEOF successful read, with end of file following.
- PIA_IDS_READMORE successful read, with additional data following (for subclass).
- Other positive value: unsuccessful read.

Remarks

Call WorkerDataGeneral::deleteContents for the worker and each family member before this function if reading more than one case.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_READERR if error reading file.

Group

PiaRead Methods

Links
PiaRead Class, PiaRead Members, PiaRead Methods

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!