FFSM++ 1.1.0
French Forest Sector Model ++
Loading...
Searching...
No Matches
GccTest Struct Reference
Collaboration diagram for GccTest:

Public Member Functions

 GccTest (string name_h)
 
 operator string ()
 
 operator int ()
 
 operator vector< int > ()
 

Public Attributes

string nameMember
 

Detailed Description

Definition at line 95 of file Sandbox.cpp.

Constructor & Destructor Documentation

◆ GccTest()

GccTest ( string  name_h)
inline

Definition at line 98 of file Sandbox.cpp.

98 {
99 nameMember = name_h;
100 };
string nameMember
Definition Sandbox.cpp:102

Member Function Documentation

◆ operator int()

operator int ( )
inline

Definition at line 112 of file Sandbox.cpp.

113 {
114 cout << "its \"underload\"\n";
115 return 42;
116 }

◆ operator string()

operator string ( )
inline

Definition at line 104 of file Sandbox.cpp.

105 {
106
107 cout << "the first function\n";
108 cout << nameMember << endl;
109 return "42";
110 }

◆ operator vector< int >()

operator vector< int > ( )
inline

Definition at line 118 of file Sandbox.cpp.

119 {
120 cout << "within vector <int>" << endl;
121 vector <int> toReturn;
122 toReturn.push_back(3);
123 toReturn.push_back(4);
124 toReturn.push_back(5);
125 return toReturn;
126 }

Member Data Documentation

◆ nameMember

string nameMember

Definition at line 102 of file Sandbox.cpp.

Referenced by GccTest(), and operator string().


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