29 ldraw::Object::Type ldraw::MetaCommand::typeIdentifier() const |
29 ldraw::Object::Type ldraw::MetaCommand::typeIdentifier() const |
30 { |
30 { |
31 return Type::MetaCommand; |
31 return Type::MetaCommand; |
32 } |
32 } |
33 |
33 |
|
34 /** |
|
35 * @brief @overload ldraw::Object::serialize |
|
36 * @param stream |
|
37 * @return stream |
|
38 */ |
|
39 QDataStream& ldraw::MetaCommand::serialize(QDataStream& stream) const |
|
40 { |
|
41 return ldraw::Object::serialize(stream) << this->storedText; |
|
42 } |
|
43 |
|
44 /** |
|
45 * @brief @overload ldraw::Object::deserialize |
|
46 * @param stream |
|
47 * @return stream |
|
48 */ |
|
49 QDataStream& ldraw::MetaCommand::deserialize(QDataStream& stream) |
|
50 { |
|
51 return ldraw::Object::deserialize(stream) >> this->storedText; |
|
52 } |
|
53 |