Ignore:
Timestamp:
07/20/16 01:17:14 (8 years ago)
Author:
Maciej Komosinski
Message:

Renamed: get/setGene -> get/setGenes, setGeneOnly -> setGenesAssumingSameFormat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/geno.h

    r530 r534  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2016  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    8585
    8686        /// return string representation, with format comment at the beginning
    87         SString getGeneAndFormat(void) const;
     87        SString getGenesAndFormat(void) const;
    8888
    8989        void setString(const SString& genewithcomments);
    9090
    91         /** @param genformat=-1 -> take from genstring comment (like the constructor) else specify the valid format in genformat and pure gene in genstring */
    92         void setGeneAndFormat(const SString& genstring, char genformat=-1);
    93         /** g must be pure gene, without format. for the standard behavior use setGeneAndFormat() */
    94         void setGeneOnly(const SString& g);
    95         SString getGene(void) const;
     91        /** @param genformat=-1 -> detect genotype format from genstring comment (like the constructor does), else specify the valid format in genformat and pure genes in genstring. */
     92        void setGenesAndFormat(const SString& genstring, char genformat=-1);
     93        /** g must be pure genes, without format. For the standard behavior use setGenesAndFormat() */
     94        void setGenesAssumingSameFormat(const SString& g);
     95        SString getGenes(void) const;
    9696
    9797        SString getName(void) const;
Note: See TracChangeset for help on using the changeset viewer.