My favorites | Sign in
Project Home Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/********************************************\
*
* Sire - Molecular Simulation Framework
*
* Copyright (C) 2009 Christopher Woods
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* For full details of the license please see the COPYING file
* that should have come with this distribution.
*
* You can contact the authors via the developer's mailing list
* at http://siremol.org
*
\*********************************************/

#ifndef SIREN_MUTABLE_H
#define SIREN_MUTABLE_H

#include "interface.h"

SIREN_BEGIN_HEADER

namespace Siren
{

class ObjRef;
class Object;

/** You must interface with Mutable if you want to make
your class mutable (changable/editable) */
class SIREN_EXPORT Mutable : public virtual Interface
{
public:
Mutable();
virtual ~Mutable();

static QString typeName();

virtual ObjRef saveState() const;

virtual void restoreState(const Object &object);
};

}

SIREN_EXPOSE_CLASS( Siren::Mutable )

SIREN_END_HEADER

#endif

Change log

r1122 by chryswoods on Dec 4, 2009   Diff
I'm making progress porting SireMaths over
to use Siren...

Code is very broken

Go to: 
Sign in to write a code review

Older revisions

r1092 by chryswoods on Nov 14, 2009   Diff
I've finished the basics of Siren -
all the code compiles, but there are
lots of unresolved symbols.

Siren is very broken
...
r1088 by chryswoods on Nov 13, 2009   Diff
I'm committing my work to date to
abstract the various Sire object
systems into
a single consistent (Java-like)
hierarchy, called Siren. Once this is
...
All revisions of this file

File info

Size: 1698 bytes, 63 lines
Powered by Google Project Hosting