#include <input.h>
Public Member Functions | |
~input () | |
input () | |
input (input_ty *arg) | |
input (const input &arg) | |
input & | operator= (const input &arg) |
input_ty * | operator-> () |
const input_ty * | operator-> () const |
void | close () |
bool | is_open () const |
bool | valid () const |
Private Attributes | |
input_ty * | ref |
Friends | |
class | input_ty |
Definition at line 358 of file input.h.
input::~input | ( | ) |
The destructor.
input::input | ( | ) |
The default constructor.
This is dangerous. The reference will be NULL, so if you try to dereference it the code will segfault.
input::input | ( | input_ty * | arg | ) |
The constructor.
arg | The input stream to be managed. Its reference count will NOT be incrimented, it is assumed you are giving the "dumb" pointer to this "smart pointer" to manage. |
input::input | ( | const input & | arg | ) |
The copy constructor.
input_ty* input::operator-> | ( | ) | [inline] |
const input_ty* input::operator-> | ( | ) | const [inline] |
void input::close | ( | ) |
bool input::is_open | ( | ) | const [inline] |
bool input::valid | ( | ) | const |
The valid method is used (when debugging) to determine if this object is in a valid state.
input_ty* input::ref [private] |