28 #ifndef __itkObjectFactoryBase_h
29 #define __itkObjectFactoryBase_h
80 static std::list< LightObject::Pointer >
81 CreateAllInstance(
const char *itkclassname);
101 } InsertionPositionType;
119 InsertionPositionType where=INSERT_AT_BACK,
size_t position = 0);
126 static void UnRegisterAllFactories();
130 static std::list< ObjectFactoryBase * > GetRegisteredFactories();
137 virtual const char * GetITKSourceVersion(
void)
const = 0;
144 static void SetStrictVersionChecking(
bool );
145 static void StrictVersionCheckingOn();
146 static void StrictVersionCheckingOff();
147 static bool GetStrictVersionChecking();
151 virtual const char * GetDescription(
void)
const = 0;
154 virtual std::list< std::string > GetClassOverrideNames();
157 virtual std::list< std::string > GetClassOverrideWithNames();
160 virtual std::list< std::string > GetClassOverrideDescriptions();
163 virtual std::list< bool > GetEnableFlags();
166 virtual void SetEnableFlag(
bool flag,
167 const char *className,
168 const char *subclassName);
171 virtual bool GetEnableFlag(
const char *className,
172 const char *subclassName);
177 virtual void Disable(
const char *className);
180 const char * GetLibraryPath();
194 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
197 void RegisterOverride(
const char *classOverride,
198 const char *overrideClassName,
199 const char *description,
211 virtual std::list< LightObject::Pointer >
212 CreateAllObject(
const char *itkclassname);
221 void operator=(
const Self &);
224 static void InitializeFactoryList();
228 static void Initialize();
231 static void RegisterDefaults();
234 static void LoadDynamicFactories();
237 static void LoadLibrariesInPath(
const char *);