?? algorithm.h
字號(hào):
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........: 960307
// Description...:
// Revisions.....:
//===================================================================
#ifndef __ALGORITHM_H__
#define __ALGORITHM_H__
#include <copyright.h>
#include <kernel/basic/persistent.h>
//-------------------------------------------------------------------
// Class prototypes.
//===================================================================
class Structure;
//-------------------------------------------------------------------
// Class.........: Algorithm
// Author........: Aleksander 豩rn
// Date..........: 960307
// Description...: Base class for algorithm objects.
// Revisions.....:
//===================================================================
class Algorithm : public Persistent {
public:
//- Type definitions...............................................
typedef Vector(Handle<Algorithm>) Handles;
public:
//- Constructors/destructor........................................
Algorithm();
virtual ~Algorithm();
//- Methods inherited from Identifier..............................
DECLAREIDMETHODS()
//- Parameter manipulation.........................................
virtual String GetParameters() const;
virtual bool GetOutputFilenames(Vector(String) &filenames) const;
virtual bool SetParameters(const String ¶meters, bool warn = true);
virtual bool SetParameter(const String &keyword, const String &value);
//- Algorithm application..........................................
virtual bool IsApplicable(const Structure &structure, bool warn = true) const;
virtual Structure *Apply(Structure &structure) const = 0;
};
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -