libmwaw_applepict2::OpCode Struct Reference

Internal and low level: a class to define each opcode and their arguments and read their data. More...

Inheritance diagram for libmwaw_applepict2::OpCode:
libmwaw_applepict1::OpCode

List of all members.

Public Types

typedef libmwaw_applepict1::OpCode parent

Public Member Functions

 OpCode (int id, char const *nm, DataType type1=WP_NONE, DataType type2=WP_NONE, DataType type3=WP_NONE, DataType type4=WP_NONE, DataType type5=WP_NONE)
 constructor
bool readData (MWAWInputStream &input, std::vector< Value > &listValue) const
 tries to read the data in the file

Detailed Description

Internal and low level: a class to define each opcode and their arguments and read their data.


Member Typedef Documentation


Constructor & Destructor Documentation

libmwaw_applepict2::OpCode::OpCode ( int  id,
char const *  nm,
DataType  type1 = WP_NONE,
DataType  type2 = WP_NONE,
DataType  type3 = WP_NONE,
DataType  type4 = WP_NONE,
DataType  type5 = WP_NONE 
) [inline]

constructor

Parameters:
idis the code of the opcode in the file
nmis the short name of the opcode
type1
type2
type3
type4
type5the type of the first, second, third arguments (if they exist)

Reimplemented from libmwaw_applepict1::OpCode.


Member Function Documentation

bool libmwaw_applepict2::OpCode::readData ( MWAWInputStream input,
std::vector< Value > &  listValue 
) const [inline]

tries to read the data in the file

If the read is succefull, fills listValue with the read argument

Reimplemented from libmwaw_applepict1::OpCode.


The documentation for this struct was generated from the following file: