Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
a_material Class Reference

#include <a_material.h>

+ Collaboration diagram for a_material:

Public Member Functions

 a_material ()
 
 a_material (const a_material &m)
 
 a_material (const std::string &name, double density)
 
void ref (const int ref)
 
int ref () const
 
void density (const double density)
 
double density () const
 
void name (const std::string name)
 
std::string name () const
 
virtual void read (std::istream &i)
 
virtual void write (std::ostream &o) const
 

Static Public Member Functions

static const std::string help ()
 get information about the class More...
 

Protected Attributes

int ref_
 
double density_
 
std::string name_
 

Detailed Description

Definition at line 23 of file a_material.h.

Constructor & Destructor Documentation

◆ a_material() [1/3]

a_material::a_material ( )
inline

Definition at line 26 of file a_material.h.

◆ a_material() [2/3]

a_material::a_material ( const a_material m)
inline

Definition at line 27 of file a_material.h.

◆ a_material() [3/3]

a_material::a_material ( const std::string &  name,
double  density 
)
inline

Definition at line 28 of file a_material.h.

Member Function Documentation

◆ density() [1/2]

double a_material::density ( ) const
inline

Definition at line 34 of file a_material.h.

◆ density() [2/2]

void a_material::density ( const double  density)
inline

Definition at line 33 of file a_material.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ help()

const std::string a_material::help ( )
static

get information about the class

Definition at line 18 of file a_material.cxx.

+ Here is the caller graph for this function:

◆ name() [1/2]

std::string a_material::name ( ) const
inline

Definition at line 36 of file a_material.h.

◆ name() [2/2]

void a_material::name ( const std::string  name)
inline

Definition at line 35 of file a_material.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

void a_material::read ( std::istream &  i)
virtual

Definition at line 36 of file a_material.cxx.

+ Here is the caller graph for this function:

◆ ref() [1/2]

int a_material::ref ( ) const
inline

Definition at line 32 of file a_material.h.

◆ ref() [2/2]

void a_material::ref ( const int  ref)
inline

Definition at line 31 of file a_material.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write()

void a_material::write ( std::ostream &  o) const
virtual

Definition at line 48 of file a_material.cxx.

+ Here is the caller graph for this function:

Member Data Documentation

◆ density_

double a_material::density_
protected

Definition at line 44 of file a_material.h.

◆ name_

std::string a_material::name_
protected

Definition at line 45 of file a_material.h.

◆ ref_

int a_material::ref_
protected

Definition at line 43 of file a_material.h.


The documentation for this class was generated from the following files: