Ignore:
Timestamp:
11/05/17 21:45:20 (6 years ago)
Author:
Maciej Komosinski
Message:
  • Setting default NeuroClass? active/genactive in preconfigured genetics
  • genactive becomes bool (was int)
  • Code formatting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/geneticneuroparam.h

    r286 r714  
    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-2017  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    88#include "neurolibparam.h"
    99
    10 class GeneticNeuroParam: public NeuroLibParam
     10class GeneticNeuroParam : public NeuroLibParam
    1111{
    12   protected:
    13 const char* types;
    14   public:
    15 GeneticNeuroParam(const char* groupname,const char* myname, const char* prefix,const char* typ=0);
     12protected:
     13        const char* types;
     14public:
     15        GeneticNeuroParam(const char* groupname, const char* myname, const char* prefix, const char* typ = 0);
    1616
    17 paInt getInt(int i);
    18 int setInt(int i,paInt v);
    19 const char *type(int i) {return types?types:NeuroLibParam::type(i);}
     17        paInt getInt(int i);
     18        int setInt(int i, paInt v);
     19        const char *type(int i) { return types ? types : NeuroLibParam::type(i); }
    2020};
    2121
Note: See TracChangeset for help on using the changeset viewer.