PetaVision  Alpha
OriginalConnNameParam.hpp
1 /*
2  * OriginalConnNameParam.hpp
3  *
4  * Created on: Jan 5, 2018
5  * Author: Pete Schultz
6  */
7 
8 #ifndef ORIGINALCONNNAMEPARAM_HPP_
9 #define ORIGINALCONNNAMEPARAM_HPP_
10 
11 #include "columns/BaseObject.hpp"
12 
13 namespace PV {
14 
22  protected:
33  virtual void ioParam_originalConnName(enum ParamsIOFlag ioFlag);
34  // end of OriginalConnNameParam parameters
36 
37  public:
38  OriginalConnNameParam(char const *name, HyPerCol *hc);
39 
40  virtual ~OriginalConnNameParam();
41 
42  char const *getOriginalConnName() const { return mOriginalConnName; }
43 
44  protected:
46 
47  int initialize(char const *name, HyPerCol *hc);
48 
49  virtual void setObjectType() override;
50 
51  int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override;
52 
53  protected:
54  char *mOriginalConnName = nullptr;
55 };
56 
57 } // namespace PV
58 
59 #endif // ORIGINALCONNNAMEPARAM_HPP_
virtual void ioParam_originalConnName(enum ParamsIOFlag ioFlag)
originalConnName: String parameter. It cannot be null or empty, and must point to another connection ...
int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override