Changeset 526


Ignore:
Timestamp:
07/18/16 04:12:06 (4 years ago)
Author:
Maciej Komosinski
Message:

Geno::toString() renamed to Geno::getGeneAndFormat()

Location:
cpp/frams
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/full_props.cpp

    r391 r526  
    9797Geno f0_g;
    9898m.makeGeno(f0_g,NULL,reverse);//third arg is "handle_defaults" == whether f0 should omit default property values
    99 puts(f0_g.toString().c_str());
     99puts(f0_g.getGeneAndFormat().c_str());
    100100
    101101return 0;
  • cpp/frams/_demos/geometry/apices_test.cpp

    r348 r526  
    4747        // Finishing result Model and printing its genotype.
    4848        resultModel.close();
    49         puts(resultModel.getF0Geno().toString().c_str());
     49        puts(resultModel.getF0Geno().getGeneAndFormat().c_str());
    5050}
    5151
  • cpp/frams/_demos/geometry/info_test.cpp

    r348 r526  
    7272        // Finishing result Model and printing its genotype.
    7373        resultModel.close();
    74         puts(resultModel.getF0Geno().toString().c_str());
     74        puts(resultModel.getF0Geno().getGeneAndFormat().c_str());
    7575       
    7676        // Printing calculated values.
  • cpp/frams/_demos/geometry/surface_test.cpp

    r348 r526  
    4747        // Finishing result Model and printing its genotype.
    4848        resultModel.close();
    49         puts(resultModel.getF0Geno().toString().c_str());
     49        puts(resultModel.getF0Geno().getGeneAndFormat().c_str());
    5050}
    5151
  • cpp/frams/_demos/geometry/volume_test.cpp

    r348 r526  
    3939        // Finishing result Model and printing its genotype.
    4040        resultModel.close();
    41         puts(resultModel.getF0Geno().toString().c_str());
     41        puts(resultModel.getF0Geno().getGeneAndFormat().c_str());
    4242}
    4343
  • cpp/frams/_demos/part_shapes.cpp

    r348 r526  
    5252
    5353        m.close();
    54         puts(m.getF0Geno().toString().c_str());
     54        puts(m.getF0Geno().getGeneAndFormat().c_str());
    5555        // the genotype can be fed directly to the genotype viewer, like this:
    5656        // part_shapes | theater -g -
  • cpp/frams/_demos/shapeconvert.cpp

    r391 r526  
    8787
    8888        Geno f0_g = newmodel.getF0Geno();
    89         puts(f0_g.toString().c_str());
     89        puts(f0_g.getGeneAndFormat().c_str());
    9090
    9191        return 0;
  • cpp/frams/vm/classes/genoobj.cpp

    r516 r526  
    8080void GenoObj::get_string(ExtValue *ret)
    8181{
    82         ret->setString(shortString());
     82        ret->setString(getGeneAndFormat());
    8383}
    8484
     
    178178{
    179179        VectorObject *vec = new VectorObject;
    180         vec->data += new ExtValue(shortString());
     180        vec->data += new ExtValue(getGeneAndFormat());
    181181        vec->data += new ExtValue(getName());
    182182        vec->data += new ExtValue(getComment());
Note: See TracChangeset for help on using the changeset viewer.