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();
193 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
196 void RegisterOverride(
const char *classOverride,
197 const char *overrideClassName,
198 const char *description,
210 virtual std::list< LightObject::Pointer >
211 CreateAllObject(
const char *itkclassname);
219 void operator=(
const Self &);
222 static void InitializeFactoryList();
226 static void Initialize();
229 static void RegisterDefaults();
232 static void LoadDynamicFactories();
235 static void LoadLibrariesInPath(
const char *);