Cat
RAM.h
Go to the documentation of this file.
1 // $Id: $
2 #ifndef INC_RAM_H
3 #define INC_RAM_H 1
4 
5 // Include files
6 #include "Element.h"
7 #include "IOobject.h"
8 
16 class RAM : public IOobject {
17 public:
19  RAM( );
20 
21  virtual ~RAM( );
22 
26  void help() { info("RAM "+name()+". No help.","RAM::help"); };
27 
28  StatusCode setSize( unsigned int , unsigned int );
29 
30  StatusCode raz( );
31 
32  int depth(){
33  return m_depth;
34  }
35 
36  int width(){
37  return m_width;
38  }
39 
40 protected:
41 
42 private:
43  int m_width;
44  int m_depth;
45 };
46 #endif // INC_RAM_H
void info(std::string mymsg)
Definition: Object.h:38
Definition: RAM.h:16
StatusCode setSize(unsigned int, unsigned int)
Definition: RAM.cpp:29
int m_width
Definition: RAM.h:43
int width()
Definition: RAM.h:36
int m_depth
Definition: RAM.h:44
StatusCode raz()
Definition: RAM.cpp:43
int depth()
Definition: RAM.h:32
void help()
Definition: RAM.h:26
RAM()
Standard constructor.
Definition: RAM.cpp:17
std::string name() const
Definition: Object.h:28
virtual ~RAM()
Destructor.
Definition: RAM.cpp:24