PetaVision  Alpha
OriginalConnNameParam.cpp
1 /*
2  * OriginalConnNameParam.cpp
3  *
4  * Created on: Jan 5, 2018
5  * Author: Pete Schultz
6  */
7 
8 #include "OriginalConnNameParam.hpp"
9 #include "columns/HyPerCol.hpp"
10 #include "components/ConnectionData.hpp"
11 #include "utils/MapLookupByType.hpp"
12 
13 namespace PV {
14 
15 OriginalConnNameParam::OriginalConnNameParam(char const *name, HyPerCol *hc) {
16  initialize(name, hc);
17 }
18 
19 OriginalConnNameParam::~OriginalConnNameParam() {}
20 
21 int OriginalConnNameParam::initialize(char const *name, HyPerCol *hc) {
22  return BaseObject::initialize(name, hc);
23 }
24 
25 void OriginalConnNameParam::setObjectType() { mObjectType = "OriginalConnNameParam"; }
26 
27 int OriginalConnNameParam::ioParamsFillGroup(enum ParamsIOFlag ioFlag) {
29  return PV_SUCCESS;
30 }
31 
32 void OriginalConnNameParam::ioParam_originalConnName(enum ParamsIOFlag ioFlag) {
33  parent->parameters()->ioParamStringRequired(
34  ioFlag, name, "originalConnName", &mOriginalConnName);
35 }
36 
37 } // namespace PV
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