Oyranos  0.9.7
Oyranos is a full featured Color Management System
Functions
oyObject_s.h File Reference
#include <oyranos_object.h>
#include "oyStruct_s.h"
#include "oyOptions_s.h"
#include "oyName_s.h"

Functions

oyObject_s oyObject_New (void)
 object management More...
 
oyObject_s oyObject_NewWithAllocators (oyAlloc_f allocateFunc, oyDeAlloc_f deallocateFunc)
 object management More...
 
oyObject_s oyObject_NewFrom (oyObject_s object)
 object management More...
 
oyObject_s oyObject_Copy (oyObject_s object)
 object management More...
 
int oyObject_Release (oyObject_s *oy)
 release an Oyranos object More...
 
OYAPI oyObject_s OYEXPORT oyObject_SetParent (oyObject_s object, oyOBJECT_e type, oyPointer ptr)
 custom object memory managersNormally a sub object should not know about its parent structure, but follow a hierarchical design. We break this here to allow the observation of all objects including the parents structures as a feature in oyObject_s. Then we just need a list of all oyObject_s objects and have an overview. This facility is intented to work even without debugging tools. More...
 
OYAPI int OYEXPORT oyObject_SetNames (oyObject_s object, const char *nick, const char *name, const char *description)
 object naming More...
 
OYAPI int OYEXPORT oyObject_SetName (oyObject_s object, const char *text, oyNAME_e type)
 object naming More...
 
OYAPI int OYEXPORT oyObject_CopyNames (oyObject_s dest, oyObject_s src)
 object naming More...
 
OYAPI const char *OYEXPORT oyObject_GetName (const oyObject_s object, oyNAME_e type)
 object get names More...
 
OYAPI int OYEXPORT oyObject_Lock (oyObject_s object, const char *marker, int line)
 Lock a object. More...
 
OYAPI int OYEXPORT oyObject_UnLock (oyObject_s object, const char *marker, int line)
 Unlock a object. More...
 
OYAPI int OYEXPORT oyObject_UnSetLocking (oyObject_s object, const char *marker, int line)
 remove a object's lock pointer More...
 
OYAPI int OYEXPORT oyObject_GetId (oyObject_s object)
 get the identification number of a object More...
 
OYAPI int OYEXPORT oyObject_GetRefCount (oyObject_s object)
 get the identification number of a object More...
 
OYAPI int OYEXPORT oyObject_UnRef (oyObject_s obj)
 decrease the ref counter and return the above zero ref value More...
 
OYAPI oyAlloc_f OYEXPORT oyObject_GetAlloc (oyObject_s object)
 get objects allocator More...
 
OYAPI oyDeAlloc_f OYEXPORT oyObject_GetDeAlloc (oyObject_s object)
 get objects deallocator More...
 
OYAPI const char *OYEXPORT oyObject_Show (oyObject_s object)
 Print object informations. More...
 
void oyObjectTreePrint (int flags)
 Print the current object trees to stderr.Probably the most simple and still useful function from the Object tree debug APIs. It prints to stderr with OY_DEBUG_OBJECTS set. More...
 

Detailed Description

[Template file inheritance graph] +– oyObject_s.template.h

Oyranos is an open source Color Management System

Copyright:
2004-2017 (C) Kai-Uwe Behrmann
Author
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
new BSD - see: http://www.opensource.org/licenses/BSD-3-Clause