~juan457/+junk/zorba

« back to all changes in this revision

Viewing changes to util/fxcharheap.h

  • Committer: paulped at ETHZ
  • Date: 2007-01-25 19:55:55 UTC
  • Revision ID: svn-v4:8046edc3-af21-0410-8661-ec7318497eea:trunk/zorba:334
added nodeid service to context
added a test data directory 'wordlists'
miscellaneous bug fixes, unit testing improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
    char * buf,                                                 // output: output buffer
76
76
    uint32_t offset,                            // input: buffer starting offset
77
77
    uint32_t maxlen) const      // input: maximum output size, truncate
78
 
        throw (xqp::xqp_exception);
 
78
        throw (xqp_exception);
 
79
 
 
80
        // convenience method: return a string 
 
81
        std::string get(off_t id) throw (xqp_exception);
79
82
 
80
83
        /**
81
84
   ** Insert a new block of characters.
87
90
    char const* buf,                            // input: string
88
91
    uint32_t offset,                            // input: starting offset
89
92
    uint32_t len)                                               // input: string length
90
 
        throw (xqp::xqp_exception);
 
93
        throw (xqp_exception);
 
94
 
 
95
        // convenience method
 
96
        off_t put(char const*) throw (xqp_exception);
91
97
 
92
98
        /**
93
99
   **   Replace a block of characters in place.
97
103
    char const* buf,        // input: string
98
104
    uint32_t offset,                            // input: starting offset
99
105
    uint32_t len)                                               // input: string length
100
 
        throw (xqp::xqp_exception);
 
106
        throw (xqp_exception);
101
107
 
102
108
        /**
103
109
   **   Return the length of the string at offset 'id'.