|
|
| smtkTypeMacro (smtk::markup::Comment) |
| |
|
| smtkSuperclassMacro (smtk::markup::Label) |
| |
|
template<typename... Args> |
| | Comment (Args &&... args) |
| |
|
void | initialize (const nlohmann::json &data, smtk::resource::json::Helper &helper) override |
| | Provide an initializer for resources to call after construction.
|
| |
|
bool | setData (const smtk::string::Token &data) |
| | Text of the comment.
|
| |
|
const smtk::string::Token & | data () const |
| |
|
smtk::string::Token & | data () |
| |
|
bool | setMimetype (const smtk::string::Token &mimetype) |
| | Mime type of the comment. The default is "text/plain".
|
| |
|
const smtk::string::Token & | mimetype () const |
| |
|
smtk::string::Token & | mimetype () |
| |
|
bool | assign (const smtk::graph::Component::ConstPtr &source, smtk::resource::CopyOptions &options) override |
| | Assign this node's state from source.
|
| |
|
| smtkTypeMacro (smtk::markup::Label) |
| |
|
| smtkSuperclassMacro (smtk::markup::Component) |
| |
|
template<typename... Args> |
| | Label (Args &&... args) |
| |
|
void | initialize (const nlohmann::json &data, smtk::resource::json::Helper &helper) override |
| | Provide an initializer for resources to call after construction.
|
| |
|
ArcEndpointInterface< arcs::LabelsToSubjects, ConstArc, OutgoingArc > | subjects () const |
| | Return the container of components that this label references.
|
| |
|
ArcEndpointInterface< arcs::LabelsToSubjects, NonConstArc, OutgoingArc > | subjects () |
| |
|
| smtkTypeMacro (smtk::markup::Component) |
| |
|
| smtkSuperclassMacro (smtk::graph::Component) |
| |
|
template<typename... Args> |
| | Component (Args &&... args) |
| |
|
Component::Index | index () const |
| | The index is a compile-time intrinsic of the derived resource; as such, it cannot be set.
|
| |
|
std::string | name () const override |
| | Return the component's name.
|
| |
|
bool | setName (const std::string &name) |
| | Set the component's name.
|
| |
|
ArcEndpointInterface< arcs::GroupsToMembers, ConstArc, IncomingArc > | groups () const |
| | Return the container of groups this component belongs to.
|
| |
|
ArcEndpointInterface< arcs::GroupsToMembers, NonConstArc, IncomingArc > | groups () |
| |
|
ArcEndpointInterface< arcs::LabelsToSubjects, ConstArc, IncomingArc > | labels () const |
| | Return the container of labels that reference this component.
|
| |
|
ArcEndpointInterface< arcs::LabelsToSubjects, NonConstArc, IncomingArc > | labels () |
| |
|
ArcEndpointInterface< arcs::URLsToImportedData, ConstArc, IncomingArc > | importedFrom () const |
| | Return the container of URLs from which this component was imported (if any).
|
| |
|
ArcEndpointInterface< arcs::URLsToImportedData, NonConstArc, IncomingArc > | importedFrom () |
| |
| ArcEndpointInterface< arcs::OntologyIdentifiersToIndividuals, ConstArc, IncomingArc > | ontologyClasses () const |
| | Return the container of ontology identifiers this component realizes. More...
|
| |
|
ArcEndpointInterface< arcs::OntologyIdentifiersToIndividuals, NonConstArc, IncomingArc > | ontologyClasses () |
| |
|
bool | assign (const smtk::graph::Component::ConstPtr &source, smtk::resource::CopyOptions &options) override |
| | Assign this node's state from source.
|
| |
|
| smtkTypeMacro (smtk::graph::Component) |
| |
|
| smtkSuperclassMacro (smtk::resource::Component) |
| |
|
const smtk::resource::ResourcePtr | resource () const override |
| | Access the containing resource.
|
| |
| smtk::resource::Resource * | parentResource () const override |
| | Return a raw (not shared) pointer to the resource that owns this object. More...
|
| |
|
const smtk::common::UUID & | id () const override |
| | Access the component's id.
|
| |
|
bool | setId (const smtk::common::UUID &uid) override |
| | Set the component's id.
|
| |
| template<typename ArcType > |
| ArcEndpointInterface< ArcType, ConstArc, OutgoingArc > | outgoing () const |
| | Return an endpoint-interface object for arcs of ArcType outgoing from this node. More...
|
| |
|
template<typename ArcType > |
| ArcEndpointInterface< ArcType, NonConstArc, OutgoingArc > | outgoing () |
| |
| template<typename ArcType > |
| ArcEndpointInterface< ArcType, ConstArc, IncomingArc > | incoming () const |
| | Return an endpoint-interface object for arcs of ArcType incoming to this node. More...
|
| |
|
template<typename ArcType > |
| ArcEndpointInterface< ArcType, NonConstArc, IncomingArc > | incoming () |
| |
| bool | disconnect (bool onlyExplicit=false) |
| | Remove all (editable) arcs from this node. More...
|
| |
| RuntimeArcEndpoint< NonConstArc > | outgoing (smtk::string::Token arcType) |
| | Given a runtime arc type-name, return a runtime endpoint interface. More...
|
| |
|
RuntimeArcEndpoint< ConstArc > | outgoing (smtk::string::Token arcType) const |
| |
|
RuntimeArcEndpoint< NonConstArc > | incoming (smtk::string::Token arcType) |
| |
|
RuntimeArcEndpoint< ConstArc > | incoming (smtk::string::Token arcType) const |
| |
| virtual bool | assign (const ConstPtr &source, smtk::resource::CopyOptions &options) |
| | Assign state data from the source node to this instance. More...
|
| |
|
| smtkTypeMacro (smtk::resource::Component) |
| |
|
| smtkSuperclassMacro (smtk::resource::PersistentObject) |
| |
|
| smtkSharedFromThisMacro (smtk::resource::PersistentObject) |
| |
| Resource * | parentResource () const override |
| | Return a raw (not shared) pointer to the resource that owns this component. More...
|
| |
|
template<typename ResourceType > |
| ResourceType * | parentResourceAs () const |
| | This variant of parentResource casts the result to the given ResourceType.
|
| |
|
Links & | links () override |
| | Return the links that connect this component to external resources/components.
|
| |
|
const Links & | links () const override |
| |
|
Properties & | properties () override |
| | Return properties defined on this component.
|
| |
|
const Properties & | properties () const override |
| |
|
| smtkTypeMacroBase (smtk::resource::PersistentObject) |
| |
|
template<typename T > |
| T::Ptr | as () |
| | Attempt to cast this object to a subclass.
|
| |
|
template<typename T > |
| T::ConstPtr | as () const |
| | Attempt to cast this object to a subclass.
|
| |