/usr/include/glbinding/AbstractValue.h is in libglbinding-dev 2.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | #pragma once
#include <string>
#include <iosfwd>
#include <glbinding/glbinding_api.h>
namespace glbinding
{
/**
* @brief
* The AbstractValue class represents the superclass of a printable wrapper around an OpenGL data type.
*
* This class and its subclasses Value<T> are mainly used when callbacks of OpenGL functions are used.
*/
class GLBINDING_API AbstractValue
{
public:
/**
* @brief
* Constructor
*/
AbstractValue();
/**
* @brief
* Destructor for correct memory deallocation on subclasses
*/
virtual ~AbstractValue();
/**
* @brief
* Prints the contents of this AbstractValue on a stream.
*
* @param[in] stream
* The stream to print on.
*/
virtual void printOn(std::ostream & stream) const = 0;
/**
* @brief
* Convert the contents of this AbstractValue to a string.
*
* @return
* The string.
*/
std::string asString() const;
};
} // namespace glbinding
|