![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include "data_stream.h"
Include dependency graph for data_file.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| template<typename T > | |
| bool | data_load (const std::string &fileName, T &data) |
| Load data from a message. More... | |
| template<typename T > | |
| bool | data_load (const std::string &fileName, T *data, size_t nbElement) |
| Load data from a message. More... | |
| template<typename T > | |
| bool | data_load (FILE *iter, T &data) |
| Load data from a message. More... | |
| template<typename T > | |
| bool | data_load (FILE *iter, T *data, size_t nbElement) |
| Load data from a message. More... | |
| template<typename T > | |
| bool | data_save (const std::string &fileName, const T &data) |
| Save data in a message. More... | |
| template<typename T > | |
| bool | data_save (const std::string &fileName, const T *data, size_t nbElement) |
| Save data in a message. More... | |
| template<typename T > | |
| bool | data_save (FILE *iter, const T &data) |
| Save data in a message. More... | |
| template<typename T > | |
| bool | data_save (FILE *iter, const T *data, size_t nbElement) |
| Save data in a message. More... | |
| bool data_load | ( | const std::string & | fileName, |
| T & | data | ||
| ) |
Load data from a message.
| fileName | : name of the file to be read | |
| [out] | data | : data to be loaded from the message |
Definition at line 93 of file data_file.h.
| bool data_load | ( | const std::string & | fileName, |
| T * | data, | ||
| size_t | nbElement | ||
| ) |
Load data from a message.
| fileName | : name of the file to be read | |
| [out] | data | : data to be loaded from the message |
| nbElement | : number of elements in the data |
Definition at line 110 of file data_file.h.
| bool data_load | ( | FILE * | iter, |
| T & | data | ||
| ) |
Load data from a message.
| [out] | iter | : message to be read |
| [out] | data | : data to be loaded from the message |
Definition at line 39 of file data_file.h.
References DataStream< Stream, Mode, T >::data_stream().
Referenced by infoMock(), mergeMock(), splitMock(), testShadokFile(), testSimpleListPairValue(), testSimpleListValue(), testSimpleMapValue(), testSimpleTableFile(), testSimpleValue(), testSimpleVectorPairValue(), and testSimpleVectorValue().
Here is the call graph for this function:
Here is the caller graph for this function:| bool data_load | ( | FILE * | iter, |
| T * | data, | ||
| size_t | nbElement | ||
| ) |
Load data from a message.
| [out] | iter | : message to be read |
| [out] | data | : data to be loaded from the message |
| nbElement | : number of elements in the data |
Definition at line 50 of file data_file.h.
References DataStream< Stream, Mode, T >::data_stream().
Here is the call graph for this function:| bool data_save | ( | const std::string & | fileName, |
| const T & | data | ||
| ) |
Save data in a message.
| fileName | : name of the file to be written |
| data | : data to be saved in the message |
Definition at line 60 of file data_file.h.
| bool data_save | ( | const std::string & | fileName, |
| const T * | data, | ||
| size_t | nbElement | ||
| ) |
Save data in a message.
| fileName | : name of the file to be written |
| data | : data to be saved in the message |
| nbElement | : number of elements in the data |
Definition at line 77 of file data_file.h.
| bool data_save | ( | FILE * | iter, |
| const T & | data | ||
| ) |
Save data in a message.
| [out] | iter | : message to be written |
| data | : data to be saved in the message |
Definition at line 18 of file data_file.h.
References DataStream< Stream, Mode, T >::data_stream().
Referenced by mergeMock(), splitMock(), testShadokFile(), testSimpleListPairValue(), testSimpleListValue(), testSimpleMapValue(), testSimpleTableFile(), testSimpleValue(), testSimpleVectorPairValue(), and testSimpleVectorValue().
Here is the call graph for this function:
Here is the caller graph for this function:| bool data_save | ( | FILE * | iter, |
| const T * | data, | ||
| size_t | nbElement | ||
| ) |
Save data in a message.
| [out] | iter | : message to be written |
| data | : data to be saved in the message | |
| nbElement | : number of elements in the data |
Definition at line 29 of file data_file.h.
References DataStream< Stream, Mode, T >::data_stream().
Here is the call graph for this function: