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

a text class More...

#include <a_text.h>

+ Inheritance diagram for a_text:
+ Collaboration diagram for a_text:

Public Member Functions

 a_text ()
 
 a_text (const a_text &text)
 
 ~a_text ()
 
virtual const std::string classname ()
 
void file (const std::string &file)
 
std::ostream * file () const
 
bool use_user_unit () const
 
void use_user_unit (const bool val)
 
void user_unit (a_unit_system &unit)
 
a_unit_systemuser_unit ()
 
void on ()
 
void off ()
 
void dimension (int dim)
 
int dimension () const
 
void endl (bool ret)
 
void flush ()
 
a_textoperator<< (const char v)
 
a_textoperator<< (const int v)
 
a_textoperator<< (const float v)
 
a_textoperator<< (const double v)
 
a_textoperator<< (std::string &v)
 
a_textoperator<< (const std::string &v)
 
a_textoperator<< (const a_point &v)
 
a_textoperator<< (std::ostream &(*f)(std::ostream &))
 
- Public Member Functions inherited from a_base
 a_base ()
 
virtual void read (std::istream &i)
 
virtual void write (std::ostream &o) const
 
void read (const std::string &file_in)
 
void write (const std::string &file_out) const
 
void small (double tol)
 
double small () const
 

Static Public Member Functions

static const std::string help ()
 
- Static Public Member Functions inherited from a_text_base
static const std::string help ()
 
- Static Public Member Functions inherited from a_base
static const std::string help ()
 

Protected Member Functions

void init ()
 

Protected Attributes

std::ostream * file_
 
a_unit_systemuser_unit_
 
bool on_
 
bool standard_
 
bool use_user_unit_
 
int dimension_
 
std::string endl_
 
std::string OS_endl_
 
- Protected Attributes inherited from a_base
double verysmall_
 

Detailed Description

a text class

Definition at line 30 of file a_text.h.

Constructor & Destructor Documentation

◆ a_text() [1/2]

a_text::a_text ( )

Definition at line 53 of file a_text.cxx.

+ Here is the call graph for this function:

◆ a_text() [2/2]

a_text::a_text ( const a_text text)

Definition at line 64 of file a_text.cxx.

+ Here is the call graph for this function:

◆ ~a_text()

a_text::~a_text ( )

Definition at line 75 of file a_text.cxx.

Member Function Documentation

◆ classname()

virtual const std::string a_text::classname ( )
inlinevirtual

return class name: should be overridden by children classes

Reimplemented from a_text_base.

Definition at line 36 of file a_text.h.

◆ dimension() [1/2]

int a_text::dimension ( ) const
inline

Definition at line 47 of file a_text.h.

◆ dimension() [2/2]

void a_text::dimension ( int  dim)
inline

Definition at line 46 of file a_text.h.

◆ endl()

void a_text::endl ( bool  ret)
inline

Definition at line 48 of file a_text.h.

◆ file() [1/2]

std::ostream* a_text::file ( ) const
inline

Definition at line 39 of file a_text.h.

+ Here is the caller graph for this function:

◆ file() [2/2]

void a_text::file ( const std::string &  file)

Definition at line 80 of file a_text.cxx.

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

◆ flush()

void a_text::flush ( )

Definition at line 104 of file a_text.cxx.

◆ help()

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

Definition at line 25 of file a_text.cxx.

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

◆ init()

void a_text::init ( )
protected

Definition at line 20 of file a_text.cxx.

+ Here is the caller graph for this function:

◆ off()

void a_text::off ( )
inline

Definition at line 45 of file a_text.h.

◆ on()

void a_text::on ( )
inline

Definition at line 44 of file a_text.h.

◆ operator<<() [1/8]

a_text & a_text::operator<< ( const a_point v)

Definition at line 154 of file a_text.cxx.

+ Here is the call graph for this function:

◆ operator<<() [2/8]

a_text & a_text::operator<< ( const char  v)

Definition at line 110 of file a_text.cxx.

+ Here is the caller graph for this function:

◆ operator<<() [3/8]

a_text & a_text::operator<< ( const double  v)

Definition at line 124 of file a_text.cxx.

+ Here is the call graph for this function:

◆ operator<<() [4/8]

a_text & a_text::operator<< ( const float  v)

Definition at line 174 of file a_text.cxx.

+ Here is the call graph for this function:

◆ operator<<() [5/8]

a_text & a_text::operator<< ( const int  v)

Definition at line 117 of file a_text.cxx.

◆ operator<<() [6/8]

a_text & a_text::operator<< ( const std::string &  v)

Definition at line 187 of file a_text.cxx.

◆ operator<<() [7/8]

a_text & a_text::operator<< ( std::ostream &(*)(std::ostream &)  f)

Definition at line 194 of file a_text.cxx.

◆ operator<<() [8/8]

a_text & a_text::operator<< ( std::string &  v)

Definition at line 180 of file a_text.cxx.

◆ use_user_unit() [1/2]

bool a_text::use_user_unit ( ) const
inline

Definition at line 40 of file a_text.h.

◆ use_user_unit() [2/2]

void a_text::use_user_unit ( const bool  val)
inline

Definition at line 41 of file a_text.h.

◆ user_unit() [1/2]

a_unit_system& a_text::user_unit ( )
inline

Definition at line 43 of file a_text.h.

◆ user_unit() [2/2]

void a_text::user_unit ( a_unit_system unit)
inline

Definition at line 42 of file a_text.h.

Member Data Documentation

◆ dimension_

int a_text::dimension_
protected

Definition at line 65 of file a_text.h.

◆ endl_

std::string a_text::endl_
protected

Definition at line 66 of file a_text.h.

◆ file_

std::ostream* a_text::file_
protected

Definition at line 60 of file a_text.h.

◆ on_

bool a_text::on_
protected

Definition at line 62 of file a_text.h.

◆ OS_endl_

std::string a_text::OS_endl_
protected

Definition at line 67 of file a_text.h.

◆ standard_

bool a_text::standard_
protected

Definition at line 63 of file a_text.h.

◆ use_user_unit_

bool a_text::use_user_unit_
protected

Definition at line 64 of file a_text.h.

◆ user_unit_

a_unit_system* a_text::user_unit_
protected

Definition at line 61 of file a_text.h.


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