SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
smtk::markup::ontology::Source Class Reference

A source of ontology models. More...

#include <Source.h>

Inheritance diagram for smtk::markup::ontology::Source:
[legend]
Collaboration diagram for smtk::markup::ontology::Source:
[legend]

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 SourcefindByName (const std::string &name)
 
static const SourcefindByURL (const std::string &url)
 
static bool registerSource (const Source &src)
 

Protected Attributes

std::string m_url
 
std::string m_name
 
std::vector< Identifierm_classes
 
std::vector< Relationm_relations
 

Detailed Description

A source of ontology models.

Instances are created by plugins and passed to registerOntology().


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