class cv::ocl::ProgramSource

#include <ocl.hpp>

class ProgramSource
{
public:
    // typedefs

    typedef uint64 hash_t;

    // construction

    ProgramSource();

    ProgramSource(
        const String& module,
        const String& name,
        const String& codeStr,
        const String& codeHash
        );

    ProgramSource(const String& prog);
    ProgramSource(const char* prog);
    ProgramSource(const ProgramSource& prog);

    // methods

    hash_t
    hash() const;

    ProgramSource&
    operator=(const ProgramSource& prog);

    const String&
    source() const;

protected:
    // fields

    Impl* p;
};