Updated documentation
parent
2a8670c0c1
commit
10c96e5a95
15
filters.h
15
filters.h
|
|
@ -1327,14 +1327,23 @@ public:
|
||||||
|
|
||||||
//! \brief Construct a StringSource
|
//! \brief Construct a StringSource
|
||||||
//! \param string C-String
|
//! \param string C-String
|
||||||
//! \param pumpAll C-String
|
//! \param pumpAll flag indicating if source data should be pumped to its attached transformation
|
||||||
//! \param attachment an optional attached transformation
|
//! \param attachment an optional attached transformation
|
||||||
StringSource(const char *string, bool pumpAll, BufferedTransformation *attachment = NULL)
|
StringSource(const char *string, bool pumpAll, BufferedTransformation *attachment = NULL)
|
||||||
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
|
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
|
||||||
//! binary byte array as source
|
|
||||||
|
//! \brief Construct a StringSource
|
||||||
|
//! \param string binary byte array
|
||||||
|
//! \param length size of the byte array
|
||||||
|
//! \param pumpAll flag indicating if source data should be pumped to its attached transformation
|
||||||
|
//! \param attachment an optional attached transformation
|
||||||
StringSource(const byte *string, size_t length, bool pumpAll, BufferedTransformation *attachment = NULL)
|
StringSource(const byte *string, size_t length, bool pumpAll, BufferedTransformation *attachment = NULL)
|
||||||
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string, length)));}
|
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string, length)));}
|
||||||
//! std::string as source
|
|
||||||
|
//! \brief Construct a StringSource
|
||||||
|
//! \param string std::string
|
||||||
|
//! \param pumpAll flag indicating if source data should be pumped to its attached transformation
|
||||||
|
//! \param attachment an optional attached transformation
|
||||||
StringSource(const std::string &string, bool pumpAll, BufferedTransformation *attachment = NULL)
|
StringSource(const std::string &string, bool pumpAll, BufferedTransformation *attachment = NULL)
|
||||||
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
|
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue