|
![](/i/fill.gif) |
In article <3DAAEAD0.B14A350B@gmx.de> , Christoph Hormann
<chr### [at] gmx de> wrote:
> Hmm, sounds interesting, could you give a few examples what would be
> possible with this system that does not work with current POV? Your text
> contains quite some information about principal technical aspects but not
> about what things will be actually controlled with that 'POVOC&SS'.
Well, assuming some classes like below, one could remove user interface
dependincies from the core code and just allow overloading of a few classes
to transmit data...
Thorsten
*******************
class Container
{
public:
Container();
virtual ~Container();
DataType DataType();
long Size();
};
class List : public Container, public list<Container>
{
public:
List();
List(List source);
virtual ~List();
void Append(Container item);
void GetNth(int index, Container item);
void SetNth(int index, Container item);
void RemoveNth(int index);
void Clear();
};
class Object : public Container, public map<DataType,Container>
{
public:
Object(DataType objclass);
Object(Object convert);
Object(Object source);
~Object();
void Get(Container attr, DataType key);
void Set(Container attr, DataType key);
void Remove(DataType key);
void Exist(DataType key);
};
class Status : public Object
{
public:
Status(string statusmsg);
~Status();
};
class Statistics : public Object
{
public:
Status(string statusmsg);
~Status();
};
class Warning : public Object
{
public:
Status(string statusmsg);
~Status();
};
class Error : public Object
{
public:
Status(string statusmsg);
~Status();
};
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |