OGLplus defines classes like Buffer, Program, Texture, Query and many others, wrapping around OpenGL "objects". Such classes have, besides the object-type-specific functions, several common constuctors and members as shown by the following pseudo code. (The Object
class does not actually exist, the following declaration is just a sort of template).