FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTgraphvertextoyield.hpp
Go to the documentation of this file.
1/*
2Copyright (c) 2019 Gouvernement du Québec
3
4SPDX-License-Identifier: LiLiQ-R-1.1
5License-Filename: LICENSES/EN/LiLiQ-R11unicode.txt
6*/
7
8
9#ifndef FMTGRAPHTOYIELD_H_INCLUDED
10#define FMTGRAPHTOYIELD_H_INCLUDED
11
12namespace Models
13{
14class FMTmodel;
15}
16
17namespace Graph
18{
19 template<class T1, class T2>
20 class FMTgraph;
21 class FMTbasevertexproperties;
22 class FMTbaseedgeproperties;
23 class FMTvertexproperties;
24 class FMTedgeproperties;
25
27 {
28 enum FMTgraphrequest
29 {
30 nograph = 0,
31 linegraph = 1,
32 fullgraph = 2,
33 count = 3
34 };
35 void const* graph;
36 void const* vertex;
37 FMTgraphrequest graphtype;
38 Models::FMTmodel const* modelptr;
39 public:
47 inline const void* getvertexptr() const
48 {
49 return vertex;
50 }
51 const Models::FMTmodel* getmodel() const;
52 };
53
54}
55
56
57#endif // FMTYLD_H_INCLUDED
Definition: FMTgraph.hpp:78
Definition: FMTgraphvertextoyield.hpp:27
FMTgraphvertextoyield & operator=(const FMTgraphvertextoyield &rhs)=default
const FMTgraph< FMTbasevertexproperties, FMTbaseedgeproperties > *const getlinegraph() const
FMTgraphvertextoyield(const FMTgraphvertextoyield &rhs)=default
FMTgraphvertextoyield(const Models::FMTmodel &model, const FMTgraph< FMTvertexproperties, FMTedgeproperties > &fullgraph, const void *lvertex)
FMTgraphvertextoyield(const Models::FMTmodel &model, const FMTgraph< FMTbasevertexproperties, FMTbaseedgeproperties > &linegraph, const void *lvertex)
const void * getvertexptr() const
Definition: FMTgraphvertextoyield.hpp:47
const Models::FMTmodel * getmodel() const
const FMTgraph< FMTvertexproperties, FMTedgeproperties > *const getfullgraph() const
Definition: FMTmodel.hpp:60
Namespace for using/building unidirectional graphs in FMT.
Definition: FMTareaparser.hpp:31
Namespace containing all enumerator and classes used to construct or manipulate the different type of...
Definition: FMTareaparser.hpp:50