Internal and low level: a class to define each opcode and their arguments and read their data. More...
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 |
Internal and low level: a class to define each opcode and their arguments and read their data.
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
id | is the code of the opcode in the file |
nm | is the short name of the opcode |
type1 | |
type2 | |
type3 | |
type4 | |
type5 | the type of the first, second, third arguments (if they exist) |
Reimplemented from libmwaw_applepict1::OpCode.
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.