cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
svlWebFileObject.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3 
4 /*
5 
6  Author(s): Balazs Vagvolgyi
7  Created on: 2009-11-04
8 
9  (C) Copyright 2005-2009 Johns Hopkins University (JHU), All Rights
10  Reserved.
11 
12  --- begin cisst license - do not edit ---
13 
14  This software is provided "as is" under an open source license, with
15  no warranty. The complete license can be found in license.txt and
16  http://www.cisst.org/cisst/license.txt.
17 
18  --- end cisst license ---
19 
20 */
21 
22 
23 #ifndef _svlWebFileObject_h
24 #define _svlWebFileObject_h
25 
26 #include <cisstCommon.h>
29 
30 #include <string>
31 
32 // Always the last cisst include
33 #include <cisstCommon/cmnExport.h>
34 
35 
37 {
38 friend class svlWebPublisher;
39 
40 private:
41  svlWebFileObject(const std::string & name);
42  virtual ~svlWebFileObject();
43  virtual svlWebFileObject* clone() const;
44 
45  bool PrepareContents();
46  virtual void Read(char*& data, int& datasize);
47 
48  int FileSize;
49  char* Buffer;
50  int BufferSize;
51 };
52 
53 #endif // _svlWebFileObject_h
54 
Definition: svlWebObjectBase.h:36
Definition: svlWebFileObject.h:36
Macros to export the symbols of cisstCommon (in a Dll).
Definition: svlWebPublisher.h:40