![]() |
VR-Forces 4.3.1 Class Documentation
|
DtIfFileOp is the base class of the content portion of file operation messages. More...

Public Member Functions | |
| DtIfFileOp () | |
| default constructor | |
| DtIfFileOp (const DtIfFileOp &orig) | |
| copy constructor | |
| const DtIfFileOp & | operator= (const DtIfFileOp &orig) |
| assignment operator | |
| virtual | ~DtIfFileOp () |
| virtual int | type () const =0 |
| Override this with the type of file message name the operation is for, so the right manager can register a callback on it; use const strings found in msgTypes.h. | |
| virtual DtSimInterfaceContent * | clone () const =0 |
| virtual const DtString & | fileName () const |
| Name of the file to operate on. | |
| virtual void | setFileName (const DtString &fileName) |
| virtual int | fileOp () const |
| The I/O type of the operation (DtReadFileOpType/DtWriteFileOpType). | |
| virtual void | setFileOp (int fileOp) |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
Protected Attributes | |
| DtString | myFileName |
| int | myFileOp |
DtIfFileOp is the base class of the content portion of file operation messages.
Messages derived from this class are typically only sent from front-end to the back-end.
Content-Type: Not applicable.
Parameters: fileName - A DtString that is the filename associated with this opera- tion.
fileOp - A DtString that is the file I/O operation to perform, read (DtReadFileOpType) or write (DtWriteFileOpType).
| DtIfFileOp::DtIfFileOp | ( | ) |
default constructor
| DtIfFileOp::DtIfFileOp | ( | const DtIfFileOp & | orig | ) |
copy constructor
|
virtual |
| const DtIfFileOp& DtIfFileOp::operator= | ( | const DtIfFileOp & | orig | ) |
assignment operator
|
pure virtual |
Override this with the type of file message name the operation is for, so the right manager can register a callback on it; use const strings found in msgTypes.h.
Currently, one of DtOverlayOpMessageName, DtPlanOpMessageName, or DtOrderOfBattleOpMessageName.
Implemented in DtIfObjectParametersOp, DtIfOrderOfBattleOp, DtIfPlanOp, and DtIfOverlayOp.
|
pure virtual |
Implemented in DtIfObjectParametersOp, DtIfOrderOfBattleOp, DtIfPlanOp, and DtIfOverlayOp.
|
virtual |
Name of the file to operate on.
|
virtual |
|
virtual |
The I/O type of the operation (DtReadFileOpType/DtWriteFileOpType).
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |