📄 xmlvector.h
字号:
// Copyright (C) 2003-2007 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added: 2003-07-15// Last changed: 2007-05-15#ifndef __XML_VECTOR_H#define __XML_VECTOR_H#include <dolfin/la/Vector.h>#include "XMLObject.h"namespace dolfin{ class XMLVector : public XMLObject { public: XMLVector(GenericVector& vector); void startElement (const xmlChar *name, const xmlChar **attrs); void endElement (const xmlChar *name); private: enum ParserState { OUTSIDE, INSIDE_VECTOR, DONE }; void startVector(const xmlChar *name, const xmlChar **attrs); void endVector (); void readEntry (const xmlChar *name, const xmlChar **attrs); GenericVector& x; ParserState state; real* values; uint size; }; }#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -