CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
LStoreFile Class Reference

#include <LStoreFile.h>

Inheritance diagram for LStoreFile:
Storage IOInput IOOutput

Classes

class  MutexWrapper
 

Public Member Functions

virtual void abort (void)
 
virtual void close (void)
 
virtual void create (const char *name, bool exclusive=false, int perms=0666)
 
virtual void create (const std::string &name, bool exclusive=false, int perms=0666)
 
 LStoreFile (void)
 
 LStoreFile (void *fd)
 
 LStoreFile (const char *name, int flags=IOFlags::OpenRead, int perms=0666)
 
 LStoreFile (const std::string &name, int flags=IOFlags::OpenRead, int perms=0666)
 
virtual void open (const char *name, int flags=IOFlags::OpenRead, int perms=0666)
 
virtual void open (const std::string &name, int flags=IOFlags::OpenRead, int perms=0666)
 
virtual IOOffset position (IOOffset offset, Relative whence=SET)
 
virtual IOSize read (void *into, IOSize n)
 
virtual void resize (IOOffset size)
 
virtual IOSize write (const void *from, IOSize n)
 
 ~LStoreFile (void)
 
- Public Member Functions inherited from Storage
virtual bool eof (void) const
 
virtual void flush (void)
 
virtual IOOffset position (void) const
 
virtual bool prefetch (const IOPosBuffer *what, IOSize n)
 
virtual IOSize read (void *into, IOSize n, IOOffset pos)
 
IOSize read (IOBuffer into, IOOffset pos)
 
virtual IOSize readv (IOPosBuffer *into, IOSize buffers)
 
virtual void rewind (void)
 
virtual IOOffset size (void) const
 
 Storage (void)
 
virtual IOSize write (const void *from, IOSize n, IOOffset pos)
 
IOSize write (IOBuffer from, IOOffset pos)
 
virtual IOSize writev (const IOPosBuffer *from, IOSize buffers)
 
virtual ~Storage (void)
 
- Public Member Functions inherited from IOInput
int read (void)
 
IOSize read (IOBuffer into)
 
virtual IOSize readv (IOBuffer *into, IOSize buffers)
 
IOSize xread (IOBuffer into)
 
IOSize xread (void *into, IOSize n)
 
IOSize xreadv (IOBuffer *into, IOSize buffers)
 
virtual ~IOInput (void)
 Destruct the stream. A no-op. More...
 
- Public Member Functions inherited from IOOutput
IOSize write (unsigned char byte)
 
IOSize write (IOBuffer from)
 
virtual IOSize writev (const IOBuffer *from, IOSize buffers)
 
IOSize xwrite (const void *from, IOSize n)
 
IOSize xwrite (IOBuffer from)
 
IOSize xwritev (const IOBuffer *from, IOSize buffers)
 
virtual ~IOOutput (void)
 Destruct the stream. A no-op. More...
 

Static Public Attributes

static pthread_mutex_t m_dlopen_lock = PTHREAD_MUTEX_INITIALIZER
 

Private Member Functions

void closeLibrary ()
 
void loadLibrary ()
 

Private Attributes

bool m_close
 
void * m_fd
 
bool m_is_loaded
 
void * m_library_handle
 
std::string m_name
 
int32_t(* redd_close )(void *)
 
int32_t(* redd_errno )()
 
int32_t(* redd_init )()
 
int64_t(* redd_lseek )(void *, int64_t, uint32_t)
 
void *(* redd_open )(const char *, int32_t, int32_t)
 
int64_t(* redd_read )(void *, char *, int64_t)
 
const std::string &(* redd_strerror )()
 
int32_t(* redd_term )()
 
int64_t(* redd_write )(void *, const char *, int64_t)
 

Additional Inherited Members

- Public Types inherited from Storage
enum  Relative { SET, CURRENT, END }
 

Detailed Description

Definition at line 8 of file LStoreFile.h.

Constructor & Destructor Documentation

LStoreFile::LStoreFile ( void  )

Definition at line 16 of file LStoreFile.cc.

References loadLibrary().

17  : m_fd (NULL),
18  m_close (false),
19  m_is_loaded(false)
20 {
21  loadLibrary();
22 }
void loadLibrary()
Definition: LStoreFile.cc:75
#define NULL
Definition: scimark2.h:8
bool m_close
Definition: LStoreFile.h:54
void * m_fd
Definition: LStoreFile.h:53
bool m_is_loaded
Definition: LStoreFile.h:59
LStoreFile::LStoreFile ( void *  fd)

Definition at line 24 of file LStoreFile.cc.

References loadLibrary().

25  : m_fd (fd),
26  m_close (true),
27  m_is_loaded(false)
28 {
29  loadLibrary();
30 }
void loadLibrary()
Definition: LStoreFile.cc:75
bool m_close
Definition: LStoreFile.h:54
void * m_fd
Definition: LStoreFile.h:53
bool m_is_loaded
Definition: LStoreFile.h:59
LStoreFile::LStoreFile ( const char *  name,
int  flags = IOFlags::OpenRead,
int  perms = 0666 
)

Definition at line 32 of file LStoreFile.cc.

References loadLibrary(), and open().

35  : m_fd (NULL),
36  m_close (false),
37  m_is_loaded(false)
38 { loadLibrary();
39  open (name, flags, perms); }
void loadLibrary()
Definition: LStoreFile.cc:75
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
#define NULL
Definition: scimark2.h:8
bool m_close
Definition: LStoreFile.h:54
void * m_fd
Definition: LStoreFile.h:53
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
Definition: LStoreFile.cc:169
bool m_is_loaded
Definition: LStoreFile.h:59
LStoreFile::LStoreFile ( const std::string &  name,
int  flags = IOFlags::OpenRead,
int  perms = 0666 
)

Definition at line 41 of file LStoreFile.cc.

References flags, loadLibrary(), and open().

44  : m_fd (NULL),
45  m_close (false),
46  m_is_loaded(false)
47 { loadLibrary();
48  open (name.c_str (), flags, perms); }
void loadLibrary()
Definition: LStoreFile.cc:75
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
#define NULL
Definition: scimark2.h:8
bool m_close
Definition: LStoreFile.h:54
void * m_fd
Definition: LStoreFile.h:53
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
Definition: LStoreFile.cc:169
bool m_is_loaded
Definition: LStoreFile.h:59
LStoreFile::~LStoreFile ( void  )

Definition at line 50 of file LStoreFile.cc.

References closeLibrary(), m_close, and m_name.

51 {
52  if (m_close)
53  edm::LogError("LStoreFileError")
54  << "Destructor called on LStore file '" << m_name
55  << "' but the file is still open";
56  closeLibrary();
57 }
std::string m_name
Definition: LStoreFile.h:55
bool m_close
Definition: LStoreFile.h:54
void closeLibrary()
Definition: LStoreFile.cc:111

Member Function Documentation

void LStoreFile::abort ( void  )
virtual

Definition at line 255 of file LStoreFile.cc.

References m_close, m_fd, and NULL.

256 {
257  if (m_fd != NULL)
258  (*redd_close) (m_fd);
259 
260  m_close = false;
261  m_fd = NULL;
262 }
#define NULL
Definition: scimark2.h:8
bool m_close
Definition: LStoreFile.h:54
void * m_fd
Definition: LStoreFile.h:53
void LStoreFile::close ( void  )
virtual

Reimplemented from Storage.

Definition at line 230 of file LStoreFile.cc.

References m_close, m_fd, m_name, NULL, redd_close, and redd_errno.

Referenced by python.Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), python.Vispa.Gui.FindDialog.FindDialog::keyPressEvent(), and open().

231 {
232  if (m_fd == NULL)
233  {
234  edm::LogError("LStoreFileError")
235  << "LStoreFile::close(name='" << m_name
236  << "') called but the file is not open";
237  m_close = false;
238  return;
239  }
240  edm::LogInfo("LStoreFile::close()") << "closing " << m_name << std::endl;
241  if ((*redd_close) (m_fd) == -1)
242  edm::LogWarning("LStoreFileWarning")
243  << "redd_close(name='" << m_name
244  << "') failed with error '" << (*redd_strerror) ()
245  << "' (redd_errno=" << (*redd_errno)() << ")";
246 
247  m_close = false;
248  m_fd = NULL;
249 
250  // Caused hang. Will be added back after problem is fixed.
251  // edm::LogInfo("LStoreFileInfo") << "Closed " << m_name;
252 }
#define NULL
Definition: scimark2.h:8
std::string m_name
Definition: LStoreFile.h:55
bool m_close
Definition: LStoreFile.h:54
void * m_fd
Definition: LStoreFile.h:53
int32_t(* redd_close)(void *)
Definition: LStoreFile.h:65
int32_t(* redd_errno)()
Definition: LStoreFile.h:70
void LStoreFile::closeLibrary ( )
private

Definition at line 111 of file LStoreFile.cc.

References edm::hlt::Exception, m_dlopen_lock, m_is_loaded, m_library_handle, NULL, and redd_term.

Referenced by ~LStoreFile().

111  {
112  try {
113  LStoreFile::MutexWrapper lockObj( & this->m_dlopen_lock );
114 
115  // What is the correct idiom for propagating error messages
116  // in functions that are exclusively called in destructors?
117  // Seriously. I have no idea
118  // melo
119  if ( m_is_loaded ) {
120  if ( (*redd_term)() ) {
121  throw cms::Exception("LStoreFile::closeLibrary()")
122  << "Error in redd_term: " << (*redd_strerror)();
123  }
124  }
125  if ( m_library_handle != NULL ) {
126  if ( dlclose( m_library_handle ) ) {
127  throw cms::Exception("LStoreFile::closeLibrary()")
128  << "Error on dlclose(): " << dlerror();
129  }
130  }
131  } catch (cms::Exception & e) {
132  edm::LogError("LStoreFileError")
133  << "LStoreFile had an error in its destructor: " << e;
134  }
135  m_is_loaded = false;
136 }
void * m_library_handle
Definition: LStoreFile.h:58
#define NULL
Definition: scimark2.h:8
bool m_is_loaded
Definition: LStoreFile.h:59
static pthread_mutex_t m_dlopen_lock
Definition: LStoreFile.h:50
int32_t(* redd_term)()
Definition: LStoreFile.h:69
void LStoreFile::create ( const char *  name,
bool  exclusive = false,
int  perms = 0666 
)
virtual

Definition at line 141 of file LStoreFile.cc.

References open(), IOFlags::OpenCreate, IOFlags::OpenExclusive, IOFlags::OpenTruncate, and IOFlags::OpenWrite.

144 {
145  open (name,
147  | (exclusive ? IOFlags::OpenExclusive : 0)),
148  perms);
149 }
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
Definition: LStoreFile.cc:169
void LStoreFile::create ( const std::string &  name,
bool  exclusive = false,
int  perms = 0666 
)
virtual

Definition at line 152 of file LStoreFile.cc.

References open(), IOFlags::OpenCreate, IOFlags::OpenExclusive, IOFlags::OpenTruncate, and IOFlags::OpenWrite.

155 {
156  open (name.c_str (),
158  | (exclusive ? IOFlags::OpenExclusive : 0)),
159  perms);
160 }
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
Definition: LStoreFile.cc:169
void LStoreFile::loadLibrary ( )
private

Definition at line 75 of file LStoreFile.cc.

References edm::hlt::Exception, m_dlopen_lock, m_is_loaded, m_library_handle, NULL, redd_errno, redd_init, REDD_LOAD_SYMBOL, redd_lseek, redd_open, redd_read, redd_strerror, redd_term, and redd_write.

Referenced by LStoreFile().

75  {
76  edm::LogError("LStoreFile::loadLibrary()") << "Loading library\n";
77  LStoreFile::MutexWrapper lockObj( & this->m_dlopen_lock );
78  // until ACCRE removes the java dependency from their client libs,
79  // we'll dlopen() them so they don't need to be brought along with cmssw
80  // if you're running LStore at your site, you will have the libs anyway
81  // TODO add wrappers to make this work in OSX as well (CMSSW's getting ported?)
82  // TODO should be easy, just need to know the "proper" way to do #if OSX
83  // -Melo
84 
86  dlopen("libreddnet.so", RTLD_LAZY);
87  if (m_library_handle == NULL) {
88  throw cms::Exception("LStoreFile::loadLibrary()")
89  << "Can't dlopen() LStore libraries: " << dlerror();
90  }
91 
92  char * retval = NULL;
93  // Explicitly state the size of these values, keeps weird 64/32 bit stuff away
94  REDD_LOAD_SYMBOL( redd_init, int32_t(*)());
95  REDD_LOAD_SYMBOL( redd_read, int64_t(*)(void *, char*, int64_t));
96  REDD_LOAD_SYMBOL( redd_lseek, int64_t(*)(void*, int64_t, uint32_t));
97  REDD_LOAD_SYMBOL( redd_open, void*(*)(const char*,int,int));
98  REDD_LOAD_SYMBOL( redd_write, int64_t(*)(void *, const char *, int64_t));
99  REDD_LOAD_SYMBOL( redd_term, int32_t(*)());
100  REDD_LOAD_SYMBOL( redd_errno, int32_t(*)());
101  REDD_LOAD_SYMBOL( redd_strerror, const std::string & (*)());
102 
103  if ( (*redd_init)() ) {
104  throw cms::Exception("LStoreFile::loadLibrary()")
105  << "Error in redd_init: " << (*redd_strerror)();
106  }
107  m_is_loaded = true;
108 
109 }
void * m_library_handle
Definition: LStoreFile.h:58
int32_t(* redd_init)()
Definition: LStoreFile.h:63
int64_t(* redd_read)(void *, char *, int64_t)
Definition: LStoreFile.h:64
#define NULL
Definition: scimark2.h:8
const std::string &(* redd_strerror)()
Definition: LStoreFile.h:71
int64_t(* redd_lseek)(void *, int64_t, uint32_t)
Definition: LStoreFile.h:66
int64_t(* redd_write)(void *, const char *, int64_t)
Definition: LStoreFile.h:68
void *(* redd_open)(const char *, int32_t, int32_t)
Definition: LStoreFile.h:67
#define REDD_LOAD_SYMBOL(NAME, TYPE)
Definition: LStoreFile.cc:63
bool m_is_loaded
Definition: LStoreFile.h:59
static pthread_mutex_t m_dlopen_lock
Definition: LStoreFile.h:50
int32_t(* redd_errno)()
Definition: LStoreFile.h:70
int32_t(* redd_term)()
Definition: LStoreFile.h:69
void LStoreFile::open ( const char *  name,
int  flags = IOFlags::OpenRead,
int  perms = 0666 
)
virtual

Definition at line 169 of file LStoreFile.cc.

References close(), edm::hlt::Exception, m_close, m_fd, m_name, mergeVDriftHistosByStation::name, NULL, O_NONBLOCK, IOFlags::OpenAppend, IOFlags::OpenCreate, IOFlags::OpenExclusive, IOFlags::OpenNonBlock, IOFlags::OpenRead, IOFlags::OpenTruncate, IOFlags::OpenWrite, redd_errno, and redd_open.

Referenced by create(), LStoreFile(), and open().

172 {
173  m_name = name;
174 
175  // Actual open
176  if ((name == 0) || (*name == 0))
177  throw cms::Exception("LStoreFile::open()")
178  << "Cannot open a file without a name";
179 
180  if ((flags & (IOFlags::OpenRead | IOFlags::OpenWrite)) == 0)
181  throw cms::Exception("LStoreFile::open()")
182  << "Must open file '" << name << "' at least for read or write";
183 
184  // If I am already open, close old file first
185  if (m_fd != NULL && m_close)
186  close ();
187 
188  // Translate our flags to system flags
189  int openflags = 0;
190 
192  openflags |= O_RDWR;
193  else if (flags & IOFlags::OpenRead)
194  openflags |= O_RDONLY;
195  else if (flags & IOFlags::OpenWrite)
196  openflags |= O_WRONLY;
197 
199  openflags |= O_NONBLOCK;
200 
202  openflags |= O_APPEND;
203 
205  openflags |= O_CREAT;
206 
208  openflags |= O_EXCL;
209 
211  openflags |= O_TRUNC;
212 
213  void * newfd = NULL;
214  if ((newfd = (*redd_open) (name, openflags, perms)) == NULL)
215  throw cms::Exception("LStoreFile::open()")
216  << "redd_open(name='" << name
217  << "', flags=0x" << std::hex << openflags
218  << ", permissions=0" << std::oct << perms << std::dec
219  << ") => error '" << (*redd_strerror)()
220  << "' (redd_errno=" << (*redd_errno)() << ")";
221 
222  m_fd = newfd;
223 
224  m_close = true;
225 
226  edm::LogInfo("LStoreFileInfo") << "Opened " << m_name;
227 }
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
#define NULL
Definition: scimark2.h:8
std::string m_name
Definition: LStoreFile.h:55
bool m_close
Definition: LStoreFile.h:54
void * m_fd
Definition: LStoreFile.h:53
void *(* redd_open)(const char *, int32_t, int32_t)
Definition: LStoreFile.h:67
int32_t(* redd_errno)()
Definition: LStoreFile.h:70
#define O_NONBLOCK
Definition: SysFile.h:21
virtual void close(void)
Definition: LStoreFile.cc:230
void LStoreFile::open ( const std::string &  name,
int  flags = IOFlags::OpenRead,
int  perms = 0666 
)
virtual

Definition at line 163 of file LStoreFile.cc.

References flags, and open().

166 { open (name.c_str (), flags, perms); }
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
Definition: LStoreFile.cc:169
IOOffset LStoreFile::position ( IOOffset  offset,
Relative  whence = SET 
)
virtual

Implements Storage.

Definition at line 303 of file LStoreFile.cc.

References Storage::CURRENT, Storage::END, edm::hlt::Exception, m_fd, m_name, NULL, redd_errno, redd_lseek, query::result, and Storage::SET.

Referenced by LStoreStorageMaker::check().

304 {
305  if (m_fd == NULL)
306  throw cms::Exception("LStoreFile::position()")
307  << "LStoreFile::position() called on a closed file";
308  if (whence != CURRENT && whence != SET && whence != END)
309  throw cms::Exception("LStoreFile::position()")
310  << "LStoreFile::position() called with incorrect 'whence' parameter";
311 
313  uint32_t mywhence = (whence == SET ? SEEK_SET
314  : whence == CURRENT ? SEEK_CUR
315  : SEEK_END);
316  if ((result = (*redd_lseek) (m_fd, (off_t) offset, (uint32_t)mywhence)) == -1)
317  throw cms::Exception("LStoreFile::position()")
318  << "redd_lseek64(name='" << m_name << "', offset=" << offset
319  << ", whence=" << mywhence << ") failed with error '"
320  << (*redd_strerror) () << "' (redd_errno=" << (*redd_errno)() << ")";
321  return result;
322 }
#define NULL
Definition: scimark2.h:8
std::string m_name
Definition: LStoreFile.h:55
void * m_fd
Definition: LStoreFile.h:53
tuple result
Definition: query.py:137
int64_t(* redd_lseek)(void *, int64_t, uint32_t)
Definition: LStoreFile.h:66
unsigned int offset(bool)
int64_t IOOffset
Definition: IOTypes.h:19
int32_t(* redd_errno)()
Definition: LStoreFile.h:70
IOSize LStoreFile::read ( void *  into,
IOSize  n 
)
virtual

Read into into at most n number of bytes.

If this is a blocking stream, the call will block until some data can be read, end of input is reached, or an exception is thrown. For a non-blocking stream the available input is returned. If none is available, an exception is thrown.

Returns
The number of bytes actually read. This is less or equal to the size of the buffer. Zero indicates that the end of the input has been reached: end of file, or remote end closing for a connected channel like a pipe or a socket. Otherwise the value can be less than requested if limited amount of input is currently available for platform or implementation reasons.
Exceptions
Incase of error, a #IOError exception is thrown. This includes the situation where the input stream is in non-blocking mode and no input is currently available (FIXME: make this simpler; clarify which exception).

Implements IOInput.

Definition at line 266 of file LStoreFile.cc.

References generateEDF::done, edm::hlt::Exception, m_fd, m_name, redd_errno, redd_strerror, and asciidump::s.

267 {
268  IOSize done = 0;
269  while (done < n)
270  {
271  ssize_t s = (*redd_read) (m_fd, (char *) into + done, n - done);
272  if (s == -1)
273  throw cms::Exception("LStoreFile::read()")
274  << "redd_read(name='" << m_name << "', n=" << (n-done)
275  << ") failed with error '" << (*redd_strerror)()
276  << "' (redd_errno=" << (*redd_errno)() << ")";
277  done += s;
278  }
279  return done;
280 }
const std::string &(* redd_strerror)()
Definition: LStoreFile.h:71
std::string m_name
Definition: LStoreFile.h:55
void * m_fd
Definition: LStoreFile.h:53
int32_t(* redd_errno)()
Definition: LStoreFile.h:70
size_t IOSize
Definition: IOTypes.h:14
string s
Definition: asciidump.py:422
void LStoreFile::resize ( IOOffset  size)
virtual

Implements Storage.

Definition at line 325 of file LStoreFile.cc.

References edm::hlt::Exception, and m_name.

Referenced by python.Vispa.Gui.TextDialog.TextDialog::__init__(), python.Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), python.Vispa.Main.MainWindow.MainWindow::_loadIni(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

326 {
327  throw cms::Exception("LStoreFile::resize()")
328  << "LStoreFile::resize(name='" << m_name << "') not implemented";
329 }
std::string m_name
Definition: LStoreFile.h:55
IOSize LStoreFile::write ( const void *  from,
IOSize  n 
)
virtual

Write n bytes of data starting at address from.

Returns
The number of bytes written. Normally this will be n, but can be less, even zero, for example if the stream is non-blocking mode and cannot accept input at this time.
Exceptions
Incase of error, an exception is thrown. However if the stream is in non-blocking mode and cannot accept output, it will not throw an exception – the return value will be less than requested.

Implements IOOutput.

Definition at line 283 of file LStoreFile.cc.

References generateEDF::done, edm::hlt::Exception, m_fd, m_name, redd_errno, redd_strerror, and asciidump::s.

284 {
285  IOSize done = 0;
286  while (done < n)
287  {
288  ssize_t s = (*redd_write) (m_fd, (const char *) from + done, n - done);
289  if (s == -1)
290  throw cms::Exception("LStoreFile::write()")
291  << "redd_write(name='" << m_name << "', n=" << (n-done)
292  << ") failed with error '" << (*redd_strerror)()
293  << "' (redd_errno=" << (*redd_errno)() << ")";
294  done += s;
295  }
296 
297  return done;
298 }
const std::string &(* redd_strerror)()
Definition: LStoreFile.h:71
std::string m_name
Definition: LStoreFile.h:55
void * m_fd
Definition: LStoreFile.h:53
static std::string from(" from ")
int32_t(* redd_errno)()
Definition: LStoreFile.h:70
size_t IOSize
Definition: IOTypes.h:14
string s
Definition: asciidump.py:422

Member Data Documentation

bool LStoreFile::m_close
private

Definition at line 54 of file LStoreFile.h.

Referenced by abort(), close(), open(), and ~LStoreFile().

pthread_mutex_t LStoreFile::m_dlopen_lock = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 50 of file LStoreFile.h.

Referenced by closeLibrary(), and loadLibrary().

void* LStoreFile::m_fd
private

Definition at line 53 of file LStoreFile.h.

Referenced by abort(), close(), open(), position(), read(), and write().

bool LStoreFile::m_is_loaded
private

Definition at line 59 of file LStoreFile.h.

Referenced by closeLibrary(), and loadLibrary().

void* LStoreFile::m_library_handle
private

Definition at line 58 of file LStoreFile.h.

Referenced by closeLibrary(), and loadLibrary().

std::string LStoreFile::m_name
private

Definition at line 55 of file LStoreFile.h.

Referenced by close(), open(), position(), read(), resize(), write(), and ~LStoreFile().

int32_t(* LStoreFile::redd_close)(void *)
private

Definition at line 65 of file LStoreFile.h.

Referenced by close().

int32_t(* LStoreFile::redd_errno)()
private

Definition at line 70 of file LStoreFile.h.

Referenced by close(), loadLibrary(), open(), position(), read(), and write().

int32_t(* LStoreFile::redd_init)()
private

Definition at line 63 of file LStoreFile.h.

Referenced by loadLibrary().

int64_t(* LStoreFile::redd_lseek)(void *, int64_t, uint32_t)
private

Definition at line 66 of file LStoreFile.h.

Referenced by loadLibrary(), and position().

void*(* LStoreFile::redd_open)(const char *, int32_t, int32_t)
private

Definition at line 67 of file LStoreFile.h.

Referenced by loadLibrary(), and open().

int64_t(* LStoreFile::redd_read)(void *, char *, int64_t)
private

Definition at line 64 of file LStoreFile.h.

Referenced by loadLibrary().

const std::string&(* LStoreFile::redd_strerror)()
private

Definition at line 71 of file LStoreFile.h.

Referenced by loadLibrary(), read(), and write().

int32_t(* LStoreFile::redd_term)()
private

Definition at line 69 of file LStoreFile.h.

Referenced by closeLibrary(), and loadLibrary().

int64_t(* LStoreFile::redd_write)(void *, const char *, int64_t)
private

Definition at line 68 of file LStoreFile.h.

Referenced by loadLibrary().