|
SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A source of ontology models. More...
#include <Source.h>
Public Member Functions | |
| Source (const std::string &url, const std::string &name, std::vector< Identifier > &&classes, std::vector< Relation > &&relations) | |
| Source (const std::string &url, const std::string &name) | |
| Source (const Source &)=default | |
| const std::string & | url () const |
| const std::string & | name () const |
| const std::vector< Identifier > & | classes () const |
| const std::vector< Relation > & | relations () const |
Static Public Member Functions | |
| static const Source & | findByName (const std::string &name) |
| static const Source & | findByURL (const std::string &url) |
| static bool | registerSource (const Source &src) |
Protected Attributes | |
| std::string | m_url |
| std::string | m_name |
| std::vector< Identifier > | m_classes |
| std::vector< Relation > | m_relations |
A source of ontology models.
Instances are created by plugins and passed to registerOntology().
1.8.17