48 return destImageFile_;
57 return memoryRepresentation_;
103 void checkCompatible(
const std::shared_ptr<SourceDestBufferImpl> &newBuf )
const;
106 void dump(
int indent = 0, std::ostream &os = std::cout );
110 template <
typename T>
void _setNextReal( T inValue );
112 void checkState_()
const;
121 char *base_ =
nullptr;
122 size_t capacity_ = 0;
123 bool doConversion_ =
false;
124 bool doScaling_ =
false;
127 unsigned nextIndex_ = 0;
unsigned nextIndex() const
void setNextString(const ustring &value)
void setTypeInfo(T *base, size_t stride=sizeof(T))
bool doConversion() const
void setNextInt64(int64_t value)
void setNextFloat(float value)
void dump(int indent=0, std::ostream &os=std::cout)
void setNextDouble(double value)
MemoryRepresentation memoryRepresentation() const
SourceDestBufferImpl(ImageFileImplWeakPtr destImageFile, const ustring &pathName, const size_t capacity, bool doConversion=false, bool doScaling=false)
void checkCompatible(const std::shared_ptr< SourceDestBufferImpl > &newBuf) const
StringList * ustrings() const
ImageFileImplWeakPtr destImageFile() const
std::weak_ptr< class ImageFileImpl > ImageFileImplWeakPtr
std::string ustring
UTF-8 encodeded Unicode string.
MemoryRepresentation
Identifies the representations of memory elements API can transfer data to/from.
std::vector< std::string > StringList