#include <attribute.h>
|
| virtual void | print (ostream &out=cout) const |
| |
| Attribute::Attribute |
( |
string |
name | ) |
|
Explicit constructor. name.
- Parameters
-
| name | the name of this attribute |
| string Attribute::getName |
( |
| ) |
const |
Gets the name of this attribute.
- Returns
- a string storing the name
| int Attribute::getSize |
( |
| ) |
const |
|
virtual |
| void Attribute::print |
( |
ostream & |
out = cout | ) |
const |
|
protectedvirtual |
| void Attribute::setName |
( |
string |
name | ) |
|
Sets the name of this attribute to the specified name.
- Parameters
-
| name | the name of this attribute |
| ostream& operator<< |
( |
ostream & |
out, |
|
|
const Attribute & |
a |
|
) |
| |
|
friend |
Writes the specified attribute to the output stream and returns it.
- Parameters
-
| out | the output stream for writing |
| a | the specified attribute for writing |
- Returns
- the modified output stream
The documentation for this class was generated from the following files: