Previous: WordReference ASCII FORMAT, Up: WordReference [Contents][Index]
Constructor. Build an object with empty key and empty record. The ncontext argument must be a pointer to a valid WordContext object.
Constructor. Build an object from disk representation of key and record . The ncontext argument must be a pointer to a valid WordContext object.
Constructor. Build an object with key word set to word and otherwise empty and empty record. The ncontext argument must be a pointer to a valid WordContext object.
Reset to empty key and record
Return a pointer to the WordContext object used to create this instance.
Return a pointer to the WordContext object used to create this instance as a const.
Return the word data member.
Return the word data member as a const.
Set the word data member from the nword argument.
Return the key object.
Return the key object as const.
Return the record object.
Return the record object as const.
Copy arg in the key part of the object.
Set key structure from disk storage format as found in packed string. Return OK if successfull, NOTOK otherwise.
Convert key object into disk storage format as found in return the resulting string.
Convert key object into disk storage format as found in and place the result in packed string. Return OK if successfull, NOTOK otherwise.
Copy arg in the record part of the object.
Set record structure from disk storage format as found in packed string. Return OK if successfull, NOTOK otherwise.
Convert record object into disk storage format as found in return the resulting string.
Convert record object into disk storage format as found in and place the result in packed string. Return OK if successfull, NOTOK otherwise.
Short hand for KeyPack( ckey ) RecordPack( crecord ).
Short hand for KeyUnpack( ckey ) RecordUnpack( crecord ).
Merge key with other.Key() using the
WordKey::Merge
method:
key.Merge(other.Key()).
See the corresponding manual page for details. Copy other.record
into the record part of the object.
Copy master before merging with master. Merge( slave ) and return the copy. Prevents alteration of master .
Set the whole structure from ASCII string in
bufferin
.
See
ASCII FORMAT
section.
Return OK if successfull, NOTOK otherwise.
Convert the whole structure to an ASCII string description
in
bufferout.
See
ASCII FORMAT
section.
Return OK if successfull, NOTOK otherwise.
Convert the whole structure to an ASCII string description
and return it.
See
ASCII FORMAT
section.
Print object in ASCII form on
f
(uses
Get
method).
See
ASCII FORMAT
section.
Print object in ASCII form on
stdout
(uses
Get
method).
See
ASCII FORMAT
section.
Previous: WordReference ASCII FORMAT, Up: WordReference [Contents][Index]