NDEVR
API Documentation
ModelTableColumnSpec::RelativePathObject

Describes a single step in a relative path traversal, optionally filtering by type. More...

Collaboration diagram for ModelTableColumnSpec::RelativePathObject:
[legend]

Public Member Functions

 RelativePathObject (RelativePath path)
 Constructs a RelativePathObject with a path direction.
 RelativePathObject (RelativePath path, StringView type)
 Constructs a RelativePathObject with a path direction and type filter.

Public Attributes

std::function< void(DesignObject &)> create_callback = nullptr
 A callback for creating the missing child, if it does not exist.
RelativePath path
 The direction to navigate.
String type
 Optional type filter for the target object.

Detailed Description

Describes a single step in a relative path traversal, optionally filtering by type.

Definition at line 83 of file DesignTableModel.h.

Constructor & Destructor Documentation

◆ RelativePathObject() [1/2]

ModelTableColumnSpec::RelativePathObject::RelativePathObject ( RelativePath path)
inline

Constructs a RelativePathObject with a path direction.

Parameters
[in]pathThe relative path direction.

Definition at line 92 of file DesignTableModel.h.

References path.

◆ RelativePathObject() [2/2]

ModelTableColumnSpec::RelativePathObject::RelativePathObject ( RelativePath path,
StringView type )
inline

Constructs a RelativePathObject with a path direction and type filter.

Parameters
[in]pathThe relative path direction.
[in]typeThe type string to filter on.

Definition at line 100 of file DesignTableModel.h.

References path, and type.


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