56 virtual void clear(
void) = 0;
58 virtual std::string
classname(
void)
const = 0;
59 virtual void open(
const std::string& url,
const std::string& mode) = 0;
60 virtual void close(
void) = 0;
61 virtual int read(
void* buffer,
const int& nbyte) = 0;
62 virtual int write(
const void* buffer,
const int& nbyte) = 0;
63 virtual int get_char(
void)
const = 0;
64 virtual void put_char(
const int& character) = 0;
65 virtual void scanf(
const char* format, ...) = 0;
66 virtual void printf(
const char* format, ...) = 0;
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
virtual void close(void)=0
virtual void scanf(const char *format,...)=0
Definition of interface for all GammaLib classes.
virtual ~GUrl(void)
Destructor.
GUrl & operator=(const GUrl &url)
Assignment operator.
virtual int read(void *buffer, const int &nbyte)=0
virtual void put_char(const int &character)=0
virtual int write(const void *buffer, const int &nbyte)=0
Interface class for all GammaLib classes.
void free_members(void)
Delete class members.
GUrl(void)
Void constructor.
virtual void printf(const char *format,...)=0
void copy_members(const GUrl &url)
Copy class members.
virtual void clear(void)=0
Clear object.
virtual int get_char(void) const =0
virtual void open(const std::string &url, const std::string &mode)=0
virtual GUrl * clone(void) const =0
Clones object.
virtual std::string classname(void) const =0
Return class name.
void init_members(void)
Initialise class members.