Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
phoxonics::common::Utilities Class Reference
Inheritance diagram for phoxonics::common::Utilities:
Inheritance graph
[legend]
Collaboration diagram for phoxonics::common::Utilities:
Collaboration graph
[legend]

Public Member Functions

 Utilities ()
 
 ~Utilities ()
 
std::string get_new_unique_id ()
 Gets a new uuid. More...
 
void round_double (int precision, double &val)
 
void plot_geometry (std::string geometry_plot_file, std::string geometry_image_file, std::string geometry_data_file)
 

Additional Inherited Members

- Protected Types inherited from phoxonics::common::CommonBase
typedef Formatter fmt_
 
- Protected Member Functions inherited from phoxonics::common::CommonBase
 CommonBase ()
 
virtual ~CommonBase ()
 
- Protected Attributes inherited from phoxonics::common::CommonBase
Logger log_
 

Constructor & Destructor Documentation

phoxonics::common::Utilities::Utilities ( )
phoxonics::common::Utilities::~Utilities ( )

Member Function Documentation

std::string phoxonics::common::Utilities::get_new_unique_id ( )

Gets a new uuid.

This method generates and returns a new uuid.

References phoxonics::common::Command::execute_command(), phoxonics::common::CommonBase::log_, and phoxonics::common::Logger::log_trac().

void phoxonics::common::Utilities::plot_geometry ( std::string  geometry_plot_file,
std::string  geometry_image_file,
std::string  geometry_data_file 
)
void phoxonics::common::Utilities::round_double ( int  precision,
double &  val 
)

Rounds a value using setprecision function

Parameters
precisionThe precision to cut
valueThe value to round

References phoxonics::common::CommonBase::log_, and phoxonics::common::Logger::log_trac().