LXRAD 0.7

cobject.h
Go to the documentation of this file.
1/* ########################################################################
2
3 LXRAD - GUI for X programing
4
5 ########################################################################
6
7 Copyright (c) : 2001 Luis Claudio Gamboa Lopes
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
23 For e-mail suggestions : lcgamboa@yahoo.com
24 ######################################################################## */
25
32#ifndef COBJECT
33#define COBJECT
34
35#include"clxrad.h"
36
42 class CObject
43{
44 protected:
45 bool Ev[EVMAX];
46 uint Evcount;
47 lxString Name;
48 lxString Class;
49 lxStringList Context;
50 uint Tag;
51 int Aux;
52 public:
53 CObject (void);
54 virtual ~ CObject (void);
55//proprierties
62 void SetName (const lxString name);
68 lxString GetName (void);
74 lxString GetClass (void);
81 void SetClass (const lxString classn);
87 virtual lxStringList GetContext (void);
94 virtual void SetContext (lxStringList context);
100 bool GetEv (bool reset = false);
107 void SetEv (bool value, bool reset = false);
114 void SetTag (uint tag);
120 uint GetTag (void);
127 void SetAux (int tag);
133 int GetAux (void);
134};
135
136#endif
CObject
Generic Object.
Definition: cobject.h:43
CObject::SetContext
virtual void SetContext(lxStringList context)
CObject::SetAux
void SetAux(int tag)
CObject::SetClass
void SetClass(const lxString classn)
CObject::SetEv
void SetEv(bool value, bool reset=false)
CObject::GetEv
bool GetEv(bool reset=false)
CObject::GetContext
virtual lxStringList GetContext(void)
CObject::GetAux
int GetAux(void)
CObject::SetTag
void SetTag(uint tag)
CObject::GetTag
uint GetTag(void)
CObject::GetClass
lxString GetClass(void)
CObject::SetName
void SetName(const lxString name)
CObject::GetName
lxString GetName(void)
lxStringList
Definition: mstring.h:82
clxrad.h