Definition at line 175 of file archivertest.cpp.
◆ Box() [1/2]
◆ Box() [2/2]
| Box::Box |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
width, |
|
|
double |
height |
|
) |
| |
|
inline |
◆ ~Box()
◆ GetType()
| const char* Box::GetType |
( |
| ) |
const |
|
inlinevirtual |
◆ Print()
| void Box::Print |
( |
std::ostream & |
os | ) |
const |
|
inlinevirtual |
Implements Shape.
Definition at line 183 of file archivertest.cpp.
184 os <<
"Box (" <<
x_ <<
", " <<
y_ <<
")" <<
" width = " << width_ <<
" height = " << height_;
◆ operator &
template<typename Archiver >
Definition at line 195 of file archivertest.cpp.
196 ar &
static_cast<Shape&
>(b);
197 ar.Member(
"width") & b.width_;
198 ar.Member(
"height") & b.height_;
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