|
NexusCPP
3.5.0
|
#include <nxwriter.h>


Public Member Functions | |
| SignalDatasetWriter (const DataShape &shapeData, const DataShape &shapeMatrix=g_empty_shape, int iSignal=1) | |
| ~SignalDatasetWriter () | |
| d-tor More... | |
| void | PushSignal (TYPE *pValue) |
Public Member Functions inherited from nxcpp::DatasetWriter | |
| template<class TYPE > | |
| void | SetDataType () |
| Sets the NeXus dataset type according to the class invoked through the template. More... | |
| void | Reset () |
| reset the writer in order to re-using it More... | |
| void | SetNeXusDataType (NexusDataType eDataType) |
| Sets the NeXus dataset type. More... | |
| void | SetShapes (const DataShape &shapeDataItem, const DataShape &shapeMatrix) |
| void | set_compression (CompressionFilter filter=CompressZLIB, FilterConfig filter_config=FilterConfig()) |
| Set compression parameters. More... | |
| DatasetWriter (const DataShape &shapeDataItem, const DataShape &shapeMatrix=g_empty_shape, yat::uint16 usMaxMB=64, yat::uint16 m_usWriteTimeout=0) | |
| DatasetWriter (const DataShape &shapeDataItem, std::size_t one_dim_size, yat::uint16 usMaxMB=64, yat::uint16 m_usWriteTimeout=0) | |
| DatasetWriter (yat::uint16 usMaxMB=64, yat::uint16 m_usWriteTimeout=0) | |
| DatasetWriter (const Config &cfg) | |
| virtual | ~DatasetWriter () |
| d-tor More... | |
| void | SetNexusFileWriter (NexusFileWriterPtr ptrWriter) |
| void | SetFlushListener (IFlushNotification *pListener) |
| void | SetMatrix (const DataShape &shapeMatrix=g_empty_shape) |
| void | SetPath (const std::string &strPath, const std::string &strDataset) |
| Change destination path. More... | |
| void | SetFullPath (const std::string &strFullPath) |
| Change destination path. More... | |
| void | SetDatasetName (const std::string &strDatasetName) |
| Set the dataset name. More... | |
| void | SetCacheSize (yat::uint16 usMaxMB) |
| Sets the buffer size in Mega bytes. More... | |
| void | AddAttribute (const NexusAttrPtr &ptrAttr) |
| Adding integer-type attribute to the NeXus dataset. More... | |
| void | AddFloatAttribute (const std::string &strName, double dValue) |
| Adding double-type attribute to the NeXus dataset. More... | |
| void | AddIntegerAttribute (const std::string &strName, long lValue) |
| Adding integer-type attribute to the NeXus dataset. More... | |
| void | AddStringAttribute (const std::string &strName, const std::string &strValue) |
| Adding std::string-type attribute to the NeXus dataset. More... | |
| void | PushData (const void *pData, std::size_t nDataCount=1, bool bNoCopy=false) |
| Push data. More... | |
| void | Stop () |
| No more data to push, data is flushed to the NeXus file writer. More... | |
| void | Abort () |
| Cancel => forget all. More... | |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<> | |
| void | SetDataType () |
| template<class TYPE > | |
| void | SetDataType () |
| template<class TYPE > | |
| void | AdjustSizes () |
| DatasetWriter (const std::vector< int > &, const std::vector< int > &, yat::uint16 usMaxMB=64) | |
| DatasetWriter (const std::vector< int > &, std::size_t, yat::uint16 usMaxMB=64) | |
| const DataShape & | MatrixShape () const |
| DataShape | DataItemShape () const |
| NexusDataType | DataType () const |
| std::string | FullPath () const |
| const std::string & | DatasetName () const |
| std::size_t | TotalRank () const |
| std::size_t | DataItemCount () const |
| yat::uint64 | TotalSize () const |
| yat::uint32 | DataItemSize () const |
| yat::uint32 | MaxDataItemsCount () const |
Public Member Functions inherited from nxcpp::MMetadata | |
| void | AddMetadata (const std::string &strKey, const std::string &strValue) |
| void | AddMetadata (const std::string &strKey, const char *pszValue) |
| void | AddMetadata (const std::string &strKey, int iValue) |
| void | AddMetadata (const std::string &strKey, long lValue) |
| void | AddMetadata (const std::string &strKey, double dValue) |
| bool | HasMetadata (const std::string &strKey) const |
| bool | GetMetadata (const std::string &strKey, std::string *pstrValue, bool bThrow=true) const |
| bool | GetStringMetadata (const std::string &strKey, std::string *pstrValue, bool bThrow=true) const |
| std::string | StringMetadata (const std::string &strKey) const |
| bool | GetIntegerMetadata (const std::string &strKey, int *piValue, bool bThrow=true) const |
| int | IntegerMetadata (const std::string &strKey) const |
| bool | GetLongIntegerMetadata (const std::string &strKey, long *plValue, bool bThrow=true) const |
| long | LongIntegerMetadata (const std::string &strKey) const |
| bool | GetDoubleMetadata (const std::string &strKey, double *pdValue, bool bThrow=true) const |
| double | DoubleMetadata (const std::string &strKey) const |
| Type | GetMetadataType (const std::string &strKey, bool bThrow=true) const |
| std::list< std::string > | MetadataKeys () const |
| Returns the metadata keys std::list. More... | |
| void | ClearMetadata () |
| Clear all metadata. More... | |
Additional Inherited Members | |
Public Types inherited from nxcpp::DatasetWriter | |
| typedef struct nxcpp::DatasetWriter::Config | Config |
| DatasetWriter configuration. More... | |
Public Types inherited from nxcpp::MMetadata | |
| enum | Type { NONE = 0, STRING, INT, LONGINT, DOUBLE } |
class containing a NexusDataset with its attributes and its location Typed DatasetWriter class dedicated to for signal data
| SignalDatasetWriter::SignalDatasetWriter | ( | const DataShape & | shapeData, |
| const DataShape & | shapeMatrix = g_empty_shape, |
||
| int | iSignal = 1 |
||
| ) |
c-tor
| shapeData | Shape of the canonical data |
| shapeMatrix | Shape of the acquisition |
| iSignal | axis order in the dimension |

|
inline |
d-tor
| void SignalDatasetWriter::PushSignal | ( | TYPE * | pValue | ) |
Push one position
| pValue | pointer to the position value |

1.8.13