vnl_file_vector.h
来自「InsightToolkit-1.4.0(有大量的优化算法程序)」· C头文件 代码 · 共 37 行
H
37 行
// This is vxl/vnl/vnl_file_vector.h
#ifndef vnl_file_vector_h_
#define vnl_file_vector_h_
#ifdef VCL_NEEDS_PRAGMA_INTERFACE
#pragma interface
#endif
//:
// \file
// \brief Load vnl_vector<T> from file
// \author Andrew W. Fitzgibbon, Oxford RRG
// \date 23 Dec 96
//
// \verbatim
// Modifications:
// fsm created by modifying class FileMatrix
// LSB (Manchester) 23/3/01 Tidied documentation
// \endverbatim
//
//-----------------------------------------------------------------------------
#include <vnl/vnl_vector.h>
//: Templated class to load a vector from a file.
template <class T>
class vnl_file_vector : public vnl_vector<T>
{
public:
vnl_file_vector(char const* filename);
operator bool() const { return ok_; }
private:
bool ok_;
};
#endif // vnl_file_vector_h_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?