xc
ProtoGeom.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // xc utils library; general purpose classes and functions.
4 //
5 // Copyright (C) Luis C. PĂ©rez Tato
6 //
7 // XC utils is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This software is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program.
19 // If not, see <http://www.gnu.org/licenses/>.
20 //----------------------------------------------------------------------------
21 //ProtoGeom.h
22 
23 #ifndef PROTOGEOM_H
24 #define PROTOGEOM_H
25 
26 #include "utility/kernel/CommandEntity.h"
27 
29 //
31 //
33 class ProtoGeom: public CommandEntity
34  {
35  private:
36  bool exts;
37  public:
38  ProtoGeom(void);
39  virtual void Print(std::ostream &os) const;
40  virtual ~ProtoGeom(void) {}
41  inline void setExists(bool e)
42  { exts= e; }
43  bool exists(void) const
44  { return exts; }
45 
46  boost::python::dict getPyDict(void) const;
47  void setPyDict(const boost::python::dict &);
48  };
49 
50 #endif
ProtoGeom(void)
False when solution is not possible: intersection of parallel planes.
Definition: ProtoGeom.cc:33
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: ProtoGeom.cc:40
Base class for geometry objects.
Definition: ProtoGeom.h:33
Objet that can execute python scripts.
Definition: CommandEntity.h:40
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: ProtoGeom.cc:48