claraty::Display_Graphics Class Reference
#include <me_body.h>
Collaboration diagram for claraty::Display_Graphics:

Public Member Functions | |
Display_Graphics set/get parameters | |
| std::string & | get_path_file_name () |
| void | set_path_file_name (const std::string set_name) |
Private Attributes | |
| std::string | _path_file_name |
Friends | |
| std::ostream & | operator<< (std::ostream &os, Display_Graphics &display_graphics) |
Detailed Description
Display_Graphics class The Display_Graphics class provides a link to a file that describes a graphics model of the body.
Definition at line 110 of file me_body.h.
Constructor & Destructor Documentation
| claraty::Display_Graphics::Display_Graphics | ( | ) | [inline] |
Default Constructor for a Display_Graphics object.
| claraty::Display_Graphics::Display_Graphics | ( | const Display_Graphics & | display_graphics | ) |
Copy Constructor for a Display_Graphics object.
- Parameters:
-
[in] display_graphics
Definition at line 256 of file me_body.cc.
00257 : _path_file_name(display_graphics._path_file_name) 00258 { 00259 }
| virtual claraty::Display_Graphics::~Display_Graphics | ( | ) | [inline, virtual] |
| claraty::Display_Graphics::Display_Graphics | ( | ) | [inline] |
Default Constructor for a Display_Graphics object.
| claraty::Display_Graphics::Display_Graphics | ( | const Display_Graphics & | display_graphics | ) |
Copy Constructor for a Display_Graphics object.
- Parameters:
-
[in] display_graphics
Definition at line 256 of file me_body.cc.
00257 : _path_file_name(display_graphics._path_file_name) 00258 { 00259 }
| virtual claraty::Display_Graphics::~Display_Graphics | ( | ) | [inline, virtual] |
Member Function Documentation
| std::string& claraty::Display_Graphics::get_path_file_name | ( | ) | [inline] |
Definition at line 123 of file me_body.h.
References _path_file_name.
Referenced by claraty::operator<<().
00123 {return _path_file_name;}
| void claraty::Display_Graphics::set_path_file_name | ( | const std::string | set_name | ) | [inline] |
Definition at line 124 of file me_body.h.
References _path_file_name.
Referenced by claraty::Display_Graphics_IO::extract_from_parse_tree().
00124 {_path_file_name = set_name;}
Friends And Related Function Documentation
| std::ostream& operator<< | ( | std::ostream & | os, | |
| Display_Graphics & | display_graphics | |||
| ) | [friend] |
Output to ostream
- Parameters:
-
[out] os ostream to put output on. [in] display_graphics Display_Graphics_IO object to be output.
- Returns:
- ostream with output on it.
Definition at line 271 of file me_body.cc.
00273 { 00274 // Set up the spacing for the indentation of the fields in the file 00275 std::string spacing = ""; 00276 spacing.append(XML_Out::get_indentation_space(), ' '); 00277 00278 os << spacing; 00279 os << "<Display_Graphics "; 00280 os << "path = \"" << display_graphics.get_path_file_name() << "\" />\n"; 00281 00282 return os; 00283 }
Member Data Documentation
std::string claraty::Display_Graphics::_path_file_name [private] |
Definition at line 128 of file me_body.h.
Referenced by get_path_file_name(), and set_path_file_name().
The documentation for this class was generated from the following files: