siplasplas
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
MyClass Struct Reference
Inheritance diagram for MyClass:

Classes

class  InnerClass
 

Public Types

enum  Enum {
  ENUM_VALUE_1 = 1, ENUM_VALUE_2 = 2, FOO, BAR,
  QUUX
}
 

Public Member Functions

 cpp::drfl::attributes::contract ([](int a, int b){ return a > 0;}, "a must be greater than zero", [](int r){ return true;}, "this must pass always")) int f(int a
 
int g (int a, int b, int c, int d)
 
void process (const std::string &str) const
 
void process (const TransformMatrix &matrix) const
 
void process (const std::string &str1, const std::string &str2) const
 

Public Attributes

int b
 
int field = 0
 
bool otherField
 
InnerClass objectOfInnerClass
 
std::string strField = "hello"
 
std::vector< std::string > vector = {"hello", ", ", "world!"}
 
std::unordered_map< std::string, int > answers
 
std::tuple< int, std::string, InnerClasstuple
 

Member Data Documentation

§ answers

std::unordered_map<std::string, int> MyClass::answers
Initial value:
= {
{"everything", 42},
{"everything squared", 42*42}
}

§ b

int MyClass::b
Initial value:
{
return a + b

§ tuple

std::tuple<int, std::string, InnerClass> MyClass::tuple
Initial value:
= std::make_tuple(
42,
"everything",
InnerClass()
)

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