Changeset 205 for cpp/frams/util


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/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.