Definition at line 202 of file archivertest.cpp.
◆ Canvas()
◆ ~Canvas()
◆ AddShape()
| void Canvas::AddShape |
( |
Shape * |
shape | ) |
|
|
inline |
◆ Clear()
Definition at line 207 of file archivertest.cpp.
208 for (std::vector<Shape*>::iterator itr = shapes_.begin(); itr != shapes_.end(); ++itr)
◆ Print()
| void Canvas::Print |
( |
std::ostream & |
os | ) |
|
|
inline |
Definition at line 214 of file archivertest.cpp.
215 for (std::vector<Shape*>::iterator itr = shapes_.begin(); itr != shapes_.end(); ++itr) {
217 std::cout << std::endl;
◆ operator &
template<typename Archiver >
Definition at line 245 of file archivertest.cpp.
246 size_t shapeCount = c.shapes_.size();
247 ar.StartArray(&shapeCount);
250 c.shapes_.resize(shapeCount);
252 for (
size_t i = 0; i < shapeCount; i++)
254 return ar.EndArray();
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/external/rapidjson/example/archiver/archivertest.cpp