Itasca C++ Interface
Loading...
Searching...
No Matches
iudtensorlist.h
Go to the documentation of this file.
1#pragma once
2
8#include "iudtypelist.h"
9
10namespace itascaxd {
11 class IUDTensor;
12 using namespace itasca;
13
16 class IUDTensorList : public IUDTypeList<IUDTensor> {
17 public:
19 IThing *getIThing() override =0;
21 const IThing *getIThing() const override =0;
23 bool importFromFile(const string &filename,const IGroupID &group) override =0;
27 bool exportToFile(const string &filename,bool binary,const IRange *filter=0,const string &comment={}) override =0;
28 };
29} // namespace itascaxd
30// EoF
Definition igroup.h:82
Base class for items that will be stored in containers.
Definition ithing.h:31
Interface to a filter, used as the main method for filtering objects.
Definition irange.h:31
Interface for the list of all IUDTensor (user defined tensor).
Definition iudtensorlist.h:16
bool exportToFile(const string &filename, bool binary, const IRange *filter=0, const string &comment={}) override=0
IThing * getIThing() override=0
returns a IThing pointer
bool importFromFile(const string &filename, const IGroupID &group) override=0
Imports objects of type T from the file /a filename. All objects created are assigned a group of /a g...
const IThing * getIThing() const override=0
returns a const IThing pointer
Interface to a container of user-define data value types.
Definition iudtypelist.h:25
IUDTypeList is a template interface, for a container of IUDType objects.
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:6