Changeset 205 for cpp


Ignore:
Timestamp:
04/02/14 16:19:03 (11 years ago)
Author:
Maciej Komosinski
Message:

Easier way to get an invalid ExtValue?

Location:
cpp/frams
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/Makefile-GDK-files

    r196 r205  
    1414CONVFF=frams/genetics/fF/conv_fF.o frams/genetics/fF/fF_genotype.o frams/genetics/fF/fF_chamber3d.o
    1515
    16 GENOCONV_GDK_OBJS=frams/genetics/defgenoconv.o $(CONVF1) $(CONVF4) $(CONVF9) $(CONVFF)
     16GENOCONV_GDK_OBJS=frams/genetics/defgenoconv.o frams/vm/classes/genoobj.o frams/model/autoname.o $(CONVF1) $(CONVF4) $(CONVF9) $(CONVFF)
    1717GENMAN_GDK_OBJS=$(GENMAN_COMMON_OBJS) $(GENMANF4) $(GENMANF9) $(GENMANFF) $(GENMANFT)
    1818
    19 GENMAN_COMMON_OBJS=frams/genetics/genman.o frams/param/mutableparam.o frams/param/mutparamlist.o frams/neuro/geneticneuroparam.o frams/neuro/neurolibparam.o frams/vm/classes/genoobj.o frams/model/autoname.o
     19GENMAN_COMMON_OBJS=frams/genetics/genman.o frams/param/mutableparam.o frams/param/mutparamlist.o frams/neuro/geneticneuroparam.o frams/neuro/neurolibparam.o
    2020
    2121GDK_OBJS=frams/util/list.o frams/util/advlist.o frams/param/param.o frams/util/sstring.o frams/util/sstringutils.o frams/util/3d.o frams/vm/classes/3dobject.o frams/model/model.o frams/model/modelparts.o frams/neuro/neurolibrary.o frams/genetics/geno.o frams/genetics/genoconv.o frams/util/extvalue.o frams/vm/classes/collectionobj.o frams/util/hashtable.o common/framsg.o common/stl-util.o frams/util/callbacks.o frams/param/syntparam.o frams/util/multirange.o frams/util/multimap.o frams/param/paramtabobj.o frams/errmgr/errmanager.o frams/param/paramobj.o frams/genetics/oper_fx.o common/nonstd_math.o frams/errmgr/stderrors.o common/Convert.o frams/util/rndutil.o
  • cpp/frams/util/extvalue.cpp

    r197 r205  
    99#include <frams/vm/classes/collectionobj.h>
    1010#include <frams/vm/classes/3dobject.h>
     11#include <frams/vm/classes/genoobj.h>
    1112#include <common/nonstd_math.h>
    1213#include <common/Convert.h>
     
    711712deserializable_classes+=&Pt3D_Ext::getStaticParam();
    712713deserializable_classes+=&Orient_Ext::getStaticParam();
     714deserializable_classes+=&GenoObj::getStaticParam();
    713715}
    714716
  • cpp/frams/util/extvalue.h

    r197 r205  
    127127ExtValue(const SString &v) {sets(v);}
    128128ExtValue(const ExtObject &srco) {seto(srco);}
     129static ExtValue invalid() {ExtValue v; v.setInvalid(); return v;}
    129130long compare(const ExtValue& src) const;
    130131int operator==(const ExtValue& src) const;
Note: See TracChangeset for help on using the changeset viewer.