API  4.3
For MATLAB, Python, Java, and C++ users
OpenSim::StatesTrajectory::MissingColumns Class Reference

Thrown when trying to create a StatesTrajectory from states data, and the data does not contain a column for every continuous state variable. More...

+ Inheritance diagram for OpenSim::StatesTrajectory::MissingColumns:

Public Member Functions

 MissingColumns (const std::string &file, size_t line, const std::string &func, const std::string &modelName, std::vector< std::string > missingStates)
 
- Public Member Functions inherited from OpenSim::Exception
 Exception (const std::string &aMsg="", const std::string &aFile="", int aLine=-1)
 This constructor is for backward compatibility. More...
 
 Exception (const std::string &file, size_t line, const std::string &func)
 Call this constructor from derived classes to add file, line and function information to the error message. More...
 
 Exception (const std::string &file, size_t line, const std::string &func, const std::string &msg)
 Use this when you want to throw an Exception (with OPENSIM_THROW or OPENSIM_THROW_IF) and also provide a message. More...
 
 Exception (const std::string &file, size_t line, const std::string &func, const Object &obj)
 The message created by this constructor will contain the class name and instance name of the provided Object. More...
 
 Exception (const std::string &file, size_t line, const std::string &func, const Object &obj, const std::string &msg)
 The message created by this constructor will contain the class name and instance name of the provided Object, and also accepts a message. More...
 
template<typename... Args>
 Exception (const std::string &file, size_t line, const std::string &func, spdlog::string_view_t fmt, const Args &... args)
 Use this when you want to throw an Exception (with OPENSIM_THROW or OPENSIM_THROW_IF) and also provide a message that is formatted using fmt::format() syntax. More...
 
template<typename... Args>
 Exception (const std::string &file, size_t line, const std::string &func, const Object &obj, spdlog::string_view_t fmt, const Args &... args)
 The message created by this constructor will contain the class name and instance name of the provided Object, and also accepts a message formatted using fmt::format() syntax. More...
 
virtual ~Exception () throw ()
 
void setMessage (const std::string &aMsg)
 
const char * getMessage () const
 
virtual void print (std::ostream &aOut) const
 
const char * what () const noexcept override
 

Detailed Description

Thrown when trying to create a StatesTrajectory from states data, and the data does not contain a column for every continuous state variable.

Constructor & Destructor Documentation

◆ MissingColumns()

OpenSim::StatesTrajectory::MissingColumns::MissingColumns ( const std::string &  file,
size_t  line,
const std::string &  func,
const std::string &  modelName,
std::vector< std::string >  missingStates 
)
inline

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