Ice Sheet System Model  4.18
Code documentation
BoolInput2.h
Go to the documentation of this file.
1 #ifndef _BOOLINPUT2_H_
2 #define _BOOLINPUT2_H_
3 
4 /*Headers:*/
5 #include "./Input2.h"
6 
7 class BoolInput2: public Input2{
8 
9  private:
10  int size;
11  bool* values;
12 
13  public:
14  /*BoolInput2 constructors, destructors: {{{*/
15  BoolInput2();
16  BoolInput2(int size_in);
17  ~BoolInput2();
18  /*}}}*/
19  /*Object virtual functions definitions:{{{ */
20  Input2 *copy();
21  void DeepEcho();
22  void Echo();
23  int Id();
24  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
25  int ObjectEnum();
26  /*}}}*/
27  /*BoolInput2 management: {{{*/
28  void GetInput(bool* pvalue,int index);
29  void SetInput(int index,bool value);
30  /*}}}*/
31  /*numerics: {{{*/
32  /*}}}*/
33 
34 };
35 #endif /* _BOOLINPUT_H */
BoolInput2::BoolInput2
BoolInput2()
Definition: BoolInput2.cpp:16
BoolInput2::values
bool * values
Definition: BoolInput2.h:11
BoolInput2::SetInput
void SetInput(int index, bool value)
Definition: BoolInput2.cpp:84
BoolInput2
Definition: BoolInput2.h:7
Input2.h
abstract class for Input2 object
BoolInput2::Echo
void Echo()
Definition: BoolInput2.cpp:51
Input2
Definition: Input2.h:18
BoolInput2::copy
Input2 * copy()
Definition: BoolInput2.cpp:34
BoolInput2::size
int size
Definition: BoolInput2.h:10
BoolInput2::DeepEcho
void DeepEcho()
Definition: BoolInput2.cpp:44
BoolInput2::~BoolInput2
~BoolInput2()
Definition: BoolInput2.cpp:28
BoolInput2::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: BoolInput2.cpp:57
BoolInput2::Id
int Id()
Definition: BoolInput2.cpp:55
BoolInput2::ObjectEnum
int ObjectEnum()
Definition: BoolInput2.cpp:68
BoolInput2::GetInput
void GetInput(bool *pvalue, int index)
Definition: BoolInput2.cpp:76