11 #ifndef __EX_Vector_h__
12 #define __EX_Vector_h__
33 int getSize()
const {
return (
int)myArray[0]; }
50 int castFrom(
const char *str);
54 int castToFloat(
fpreal &rval)
const;
55 char *castToString()
const;
58 int scan(
const char *str);
62 void grow(
int newsize);
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
fpreal operator()(int idx) const
__hostdev__ void setValue(uint32_t offset, bool v)
__hostdev__ float getValue(uint32_t i) const
ImageBuf OIIO_API sub(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
void fastSet(int idx, fpreal val)
fpreal operator[](int idx) const
LeafData & operator=(const LeafData &)=delete
fpreal fastGet(int idx) const
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)