OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AtomSpace_CWrapper.h
Go to the documentation of this file.
1 
3 
12 extern "C"
13 {
14  using namespace opencog;
15 
24  AtomSpace* AtomSpace_new( AtomSpace * parent_ptr );
25 
31  void AtomSpace_delete( AtomSpace* this_ptr );
32 
44  , const char* type
45  , const char* name);
46 
59  , const char* type
60  , const UUID* outgoing
61  , int size );
62 
74  , const char* type
75  , const char* name
76  , int* found );
77 
90  , const char* type
91  , const UUID* outgoing
92  , int size
93  , int* found );
94 
103  int AtomSpace_removeAtom( AtomSpace* this_ptr
104  , UUID handle );
105 
124  int AtomSpace_getAtomByHandle( AtomSpace* this_ptr
125  , UUID handle
126  , char** type
127  , char** name
128  , UUID** out
129  , int* out_len);
130 
137  void AtomSpace_debug( AtomSpace* this_ptr );
138 
150  , UUID handle
151  , double* parameters );
152 
162  void AtomSpace_setTruthValue( AtomSpace* this_ptr
163  , UUID handle
164  , TruthValueType type
165  , double* parameters );
166 }
167 
TruthValueType AtomSpace_getTruthValue(AtomSpace *this_ptr, UUID handle, double *parameters)
int AtomSpace_getAtomByHandle(AtomSpace *this_ptr, UUID handle, char **type, char **name, UUID **out, int *out_len)
UUID AtomSpace_getLink(AtomSpace *this_ptr, const char *type, const UUID *outgoing, int size, int *found)
AtomSpace * AtomSpace_new(AtomSpace *parent_ptr)
UUID AtomSpace_getNode(AtomSpace *this_ptr, const char *type, const char *name, int *found)
TruthValueType
Definition: TruthValue.h:63
int AtomSpace_removeAtom(AtomSpace *this_ptr, UUID handle)
void AtomSpace_delete(AtomSpace *this_ptr)
unsigned long UUID
UUID == Universally Unique Identifier.
Definition: Handle.h:46
UUID AtomSpace_addNode(AtomSpace *this_ptr, const char *type, const char *name)
UUID AtomSpace_addLink(AtomSpace *this_ptr, const char *type, const UUID *outgoing, int size)
void AtomSpace_debug(AtomSpace *this_ptr)
void AtomSpace_setTruthValue(AtomSpace *this_ptr, UUID handle, TruthValueType type, double *parameters)