![]() |
FMT 1.2.0
Forest management tools for forest planning
|
Adapter pointing to a vertex of a line graph or a full graph and its model, used to answer a generic yield request that depends on the graph. More...
#include <FMTGraphVertexToYield.h>
Public Member Functions | |
| FMTGraphVertexToYield (const Models::FMTModel &model, const FMTGraph< FMTBaseVertexProperties, FMTBaseEdgeProperties > &linegraph, const void *lvertex) | |
| Construct a FMTGraphVertexToYield from a model, a line graph and a vertex. | |
| FMTGraphVertexToYield (const Models::FMTModel &model, const FMTGraph< FMTVertexProperties, FMTEdgeProperties > &fullgraph, const void *lvertex) | |
| Construct a FMTGraphVertexToYield from a model, a full graph and a vertex. | |
| FMTGraphVertexToYield () | |
| Default constructor for FMTGraphVertexToYield. | |
| FMTGraphVertexToYield (const FMTGraphVertexToYield &rhs)=default | |
| Copy constructor for FMTGraphVertexToYield. | |
| FMTGraphVertexToYield & | operator= (const FMTGraphVertexToYield &rhs)=default |
| Copy assignment operator for FMTGraphVertexToYield. | |
| const FMTGraph< FMTBaseVertexProperties, FMTBaseEdgeProperties > *const | getLineGraph () const |
| Return the line graph, or nullptr if the adapter points to a full graph. | |
| const FMTGraph< FMTVertexProperties, FMTEdgeProperties > *const | getFullGraph () const |
| Return the full graph, or nullptr if the adapter points to a line graph. | |
| const void * | getVertexPtr () const |
| Return a pointer to the vertex. | |
| const Models::FMTModel * | getModel () const |
| Return the model. | |
Adapter pointing to a vertex of a line graph or a full graph and its model, used to answer a generic yield request that depends on the graph.
| Graph::FMTGraphVertexToYield::FMTGraphVertexToYield | ( | const Models::FMTModel & | model, |
| const FMTGraph< FMTBaseVertexProperties, FMTBaseEdgeProperties > & | linegraph, | ||
| const void * | lvertex | ||
| ) |
Construct a FMTGraphVertexToYield from a model, a line graph and a vertex.
| [in] | model | the model. |
| [in] | linegraph | the line graph. |
| [in] | lvertex | the vertex. |
| Graph::FMTGraphVertexToYield::FMTGraphVertexToYield | ( | const Models::FMTModel & | model, |
| const FMTGraph< FMTVertexProperties, FMTEdgeProperties > & | fullgraph, | ||
| const void * | lvertex | ||
| ) |
Construct a FMTGraphVertexToYield from a model, a full graph and a vertex.
| [in] | model | the model. |
| [in] | fullgraph | the full graph. |
| [in] | lvertex | the vertex. |
| Graph::FMTGraphVertexToYield::FMTGraphVertexToYield | ( | ) |
Default constructor for FMTGraphVertexToYield.
|
default |
Copy constructor for FMTGraphVertexToYield.
| [in] | rhs | the FMTGraphVertexToYield to copy. |
| const FMTGraph< FMTVertexProperties, FMTEdgeProperties > *const Graph::FMTGraphVertexToYield::getFullGraph | ( | ) | const |
Return the full graph, or nullptr if the adapter points to a line graph.
| const FMTGraph< FMTBaseVertexProperties, FMTBaseEdgeProperties > *const Graph::FMTGraphVertexToYield::getLineGraph | ( | ) | const |
Return the line graph, or nullptr if the adapter points to a full graph.
| const Models::FMTModel * Graph::FMTGraphVertexToYield::getModel | ( | ) | const |
Return the model.
|
inline |
Return a pointer to the vertex.
|
default |
Copy assignment operator for FMTGraphVertexToYield.
| [in] | rhs | the FMTGraphVertexToYield to copy. |