OpenStudio:sdd
 All Classes Namespaces Functions Pages
Public Member Functions | List of all members
openstudio::sdd::ForwardTranslator Class Reference

#include <ForwardTranslator.hpp>

Public Member Functions

std::vector< LogMessage > errors () const
 Get error messages generated by the last translation. More...
 
 ForwardTranslator ()
 
bool modelToSDD (const openstudio::model::Model &model, const openstudio::path &path, ProgressBar *progressBar=nullptr)
 
std::vector< LogMessage > warnings () const
 Get warning messages generated by the last translation. More...
 
 ~ForwardTranslator ()
 

Constructor & Destructor Documentation

openstudio::sdd::ForwardTranslator::ForwardTranslator ( )
openstudio::sdd::ForwardTranslator::~ForwardTranslator ( )

Member Function Documentation

std::vector<LogMessage> openstudio::sdd::ForwardTranslator::errors ( ) const

Get error messages generated by the last translation.

Errors are issues encountered during translation that are fatal to producing a valid SDD for compliance analysis

bool openstudio::sdd::ForwardTranslator::modelToSDD ( const openstudio::model::Model &  model,
const openstudio::path &  path,
ProgressBar *  progressBar = nullptr 
)
std::vector<LogMessage> openstudio::sdd::ForwardTranslator::warnings ( ) const

Get warning messages generated by the last translation.

Warnings are issues encountered during translation that are important, but not fatal to producing a valid SDD for compliance analysis