occ
Loading...
Searching...
No Matches
occ::io::GMFWriter Class Reference

#include <gmf.h>

Classes

struct  Facet
 

Public Member Functions

 GMFWriter (const occ::crystal::Crystal &)
 
void set_title (const std::string &title)
 
const auto & title () const
 
void set_name (const std::string &name)
 
const auto & name () const
 
void set_crystal (const occ::crystal::Crystal &crystal)
 
const auto & crystal () const
 
void set_morphology_kind (const std::string &morph)
 
const auto & morphology_kind () const
 
void add_facet (const Facet &facet)
 
auto number_of_facets () const
 
bool write (const std::string &filename) const
 
bool write (std::ostream &output) const
 

Constructor & Destructor Documentation

◆ GMFWriter()

occ::io::GMFWriter::GMFWriter ( const occ::crystal::Crystal )

Member Function Documentation

◆ add_facet()

void occ::io::GMFWriter::add_facet ( const Facet facet)
inline

◆ crystal()

const auto & occ::io::GMFWriter::crystal ( ) const
inline

◆ morphology_kind()

const auto & occ::io::GMFWriter::morphology_kind ( ) const
inline

◆ name()

const auto & occ::io::GMFWriter::name ( ) const
inline

◆ number_of_facets()

auto occ::io::GMFWriter::number_of_facets ( ) const
inline

◆ set_crystal()

void occ::io::GMFWriter::set_crystal ( const occ::crystal::Crystal crystal)
inline

◆ set_morphology_kind()

void occ::io::GMFWriter::set_morphology_kind ( const std::string &  morph)
inline

◆ set_name()

void occ::io::GMFWriter::set_name ( const std::string &  name)
inline

◆ set_title()

void occ::io::GMFWriter::set_title ( const std::string &  title)
inline

◆ title()

const auto & occ::io::GMFWriter::title ( ) const
inline

◆ write() [1/2]

bool occ::io::GMFWriter::write ( const std::string &  filename) const

◆ write() [2/2]

bool occ::io::GMFWriter::write ( std::ostream &  output) const

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