cisst-saw
Loading...
Searching...
No Matches
nmrDynAllocPolynomialContainer.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4/*
5
6 Author(s): Ofri Sadowsky
7 Created on: 2003
8
9 (C) Copyright 2003-2007 Johns Hopkins University (JHU), All Rights
10 Reserved.
11
12--- begin cisst license - do not edit ---
13
14This software is provided "as is" under an open source license, with
15no warranty. The complete license can be found in license.txt and
16http://www.cisst.org/cisst/license.txt.
17
18--- end cisst license ---
19*/
20
21
22#ifndef _nmrDynAllocPolynomialContainer_h
23#define _nmrDynAllocPolynomialContainer_h
24
27
29{
30public:
32
33 nmrDynAllocPolynomialContainer(unsigned int numVariables, unsigned int minDegree, unsigned int maxDegree)
34 : BaseType(numVariables, minDegree, maxDegree)
35 {}
36
37 virtual void SerializeTermInfo(std::ostream & output, const TermConstIteratorType & termIterator) const = 0;
38 virtual void DeserializeTermInfo(std::istream & input, TermIteratorType & termIterator) = 0;
39
40private:
43};
44
45
46#endif
virtual void DeserializeTermInfo(std::istream &input, TermIteratorType &termIterator)=0
nmrPolynomialContainer< void * > BaseType
Definition nmrDynAllocPolynomialContainer.h:31
nmrDynAllocPolynomialContainer(unsigned int numVariables, unsigned int minDegree, unsigned int maxDegree)
Definition nmrDynAllocPolynomialContainer.h:33
virtual void SerializeTermInfo(std::ostream &output, const TermConstIteratorType &termIterator) const =0
TermContainerType::iterator TermIteratorType
Definition nmrPolynomialContainer.h:74
nmrPolynomialContainer(VariableIndexType numVariables, PowerType minDegree, PowerType maxDegree)
Definition nmrPolynomialContainer.h:122
TermContainerType::const_iterator TermConstIteratorType
Definition nmrPolynomialContainer.h:75
#define CISST_EXPORT
Definition cmnExportMacros.h:50
Rules of exporting.