ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Related Functions | List of all members

ABD (ASL Binary Dump) file, input. More...

#include <aslABDFormat.h>

Inheritance diagram for asl::ABDFileIn:
Inheritance graph
[legend]
Collaboration diagram for asl::ABDFileIn:
Collaboration graph
[legend]

Public Member Functions

 ABDFileIn ()
 
 ABDFileIn (string name)
 

Related Functions

(Note that these are not member functions.)

ABDFileInoperator>> (ABDFileIn &f, int &a)
 
ABDFileInoperator>> (ABDFileIn &f, unsigned int &a)
 
ABDFileInoperator>> (ABDFileIn &f, float &a)
 
ABDFileInoperator>> (ABDFileIn &f, double &a)
 
template<typename T >
ABDFileInoperator>> (ABDFileIn &f, pair< T *, unsigned int > a)
 
ABDFileInoperator>> (ABDFileIn &f, string &a)
 
template<typename T >
ABDFileInoperator>> (ABDFileIn &f, AVec< T > &a)
 
ABDFileInoperator>> (ABDFileIn &f, Block &a)
 
ABDFileInoperator>> (ABDFileIn &f, AbstractData &a)
 reads data. It is assumed that the class has the propper size More...
 
ABDFileInget (ABDFileIn &f, AbstractData &a, std::shared_ptr< double > d)
 reads data. It is assumed that the class has the propper size More...
 

Detailed Description

ABD (ASL Binary Dump) file, input.

Examples
testABDFormat.cc.

Definition at line 49 of file aslABDFormat.h.

Constructor & Destructor Documentation

◆ ABDFileIn() [1/2]

asl::ABDFileIn::ABDFileIn ( )
inline

Definition at line 142 of file aslABDFormat.h.

◆ ABDFileIn() [2/2]

asl::ABDFileIn::ABDFileIn ( string  name)
inline

Definition at line 144 of file aslABDFormat.h.

Friends And Related Function Documentation

◆ get()

ABDFileIn & get ( ABDFileIn f,
AbstractData a,
std::shared_ptr< double >  d 
)
related

reads data. It is assumed that the class has the propper size

The function reads only the first element. Additionaly it creates and stores data in the memory d; in case of d.get()==0 defineds whether the new d should be allocated

◆ operator>>() [1/9]

ABDFileIn & operator>> ( ABDFileIn f,
int &  a 
)
related

Definition at line 160 of file aslABDFormat.h.

◆ operator>>() [2/9]

ABDFileIn & operator>> ( ABDFileIn f,
unsigned int &  a 
)
related

Definition at line 172 of file aslABDFormat.h.

◆ operator>>() [3/9]

ABDFileIn & operator>> ( ABDFileIn f,
float &  a 
)
related

Definition at line 184 of file aslABDFormat.h.

◆ operator>>() [4/9]

ABDFileIn & operator>> ( ABDFileIn f,
double &  a 
)
related

Definition at line 196 of file aslABDFormat.h.

◆ operator>>() [5/9]

template<typename T >
ABDFileIn & operator>> ( ABDFileIn f,
pair< T *, unsigned int >  a 
)
related

Definition at line 208 of file aslABDFormat.h.

◆ operator>>() [6/9]

ABDFileIn & operator>> ( ABDFileIn f,
string &  a 
)
related

Definition at line 220 of file aslABDFormat.h.

◆ operator>>() [7/9]

template<typename T >
ABDFileIn & operator>> ( ABDFileIn f,
AVec< T > &  a 
)
related

Definition at line 234 of file aslABDFormat.h.

◆ operator>>() [8/9]

ABDFileIn & operator>> ( ABDFileIn f,
Block a 
)
related

◆ operator>>() [9/9]

ABDFileIn & operator>> ( ABDFileIn f,
AbstractData a 
)
related

reads data. It is assumed that the class has the propper size

The function writes only the first element


The documentation for this class was generated from the following file: