Inheritance diagram for Doomwad::Vertex:

Definition at line 73 of file vertexes.hpp.
Public Member Functions | |
| virtual size_t | getLength (void) const throw () |
| Get the length of an element. | |
| virtual bool | read (const Lump &lump, Lump::size_type i) throw () |
| Read this element from a Lump. | |
| virtual std::string | toString (void) const throw () |
| Convert this element to a string. | |
| Vertex (int16=0, int16=0) throw () | |
| Vertex constructor. | |
| virtual bool | write (Lump &lump, Lump::size_type i) const throw () |
| Write this element into a Lump. | |
| virtual | ~Vertex (void) throw () |
| Vertex destructor. | |
Public Attributes | |
| int16 | x |
| X coordinate. | |
| int16 | y |
| Y coordinate. | |
Static Public Attributes | |
| static const size_t | LENGTH = 0x00000004 |
| Length of a single record. | |
|
||||||||||||
|
Vertex constructor. Constructs a vertex from two optional integers.
Definition at line 62 of file vertexes.cpp. |
|
|
Get the length of an element. Each element record type has a length. Some are fixed, in which case this function returns that length. Some records are variable-length, in which case this function returns zero.
Implements Doomwad::WadEntryElement. Definition at line 73 of file vertexes.cpp. References LENGTH. |
|
||||||||||||
|
Read this element from a Lump. Read one element from a Lump at the specified index.
Implements Doomwad::WadEntryElement. Definition at line 92 of file vertexes.cpp. Referenced by Doomwad::Vertexes::setFromLump(). |
|
|
Convert this element to a string. The format of the string will vary from class to class, but every subclass must be able to format itself as a string. IMPORTANT: this string representation is not guaranteed to preserve all data. Reading back in is not supported. This function's goal is to make the object's state user-readable, not machine-readable.
Implements Doomwad::WadEntryElement. Definition at line 106 of file vertexes.cpp. |
|
||||||||||||
|
Write this element into a Lump. Write one element into a Lump at the specified index.
Implements Doomwad::WadEntryElement. Definition at line 78 of file vertexes.cpp. |
1.4.0