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.
183 {
184 os <<
"Box (" <<
x_ <<
", " <<
y_ <<
")" <<
" width = " << width_ <<
" height = " << height_;
185 }
◆ operator&
Definition at line 195 of file archivertest.cpp.
195 {
196 ar &
static_cast<Shape&
>(b);
197 ar.Member("width") & b.width_;
198 ar.Member("height") & b.height_;
199 return ar;
200}
The documentation for this class was generated from the following file: