class cv::ocl::Program
#include <ocl.hpp>
class Program
{
public:
// construction
Program();
Program(
const ProgramSource& src,
const String& buildflags,
String& errmsg
);
Program(const String& buf);
Program(const Program& prog);
// methods
bool
create(
const ProgramSource& src,
const String& buildflags,
String& errmsg
);
String
getPrefix() const;
Program&
operator=(const Program& prog);
void*
ptr() const;
bool
read(
const String& buf,
const String& buildflags
);
const ProgramSource&
source() const;
bool
write(String& buf) const;
static
String
getPrefix(const String& buildflags);
protected:
// fields
Impl* p;
};