diff --git a/apps/nexus/vfile.h b/apps/nexus/vfile.h index 4716961a..77124c80 100644 --- a/apps/nexus/vfile.h +++ b/apps/nexus/vfile.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.5 2004/07/02 17:41:37 ponchio +Debug. + Revision 1.4 2004/07/02 13:02:39 ponchio Added GetRegion, Read and Write @@ -222,6 +225,11 @@ template class VFile { return *(buffer.data + offset); } + + void PushBack(const T &t) { + Resize(n_elements+1); + operator[](n_elements-1) = t; + } /** you can get a region instead of an element but: 1)region must be Chunk aligned.