VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
putSelfCallbackInfo.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2004 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 // \file putSelfCbInfo.h
7 // \ingroup readerWriter
8 
9 #pragma once
10 
11 #include <stdio.h>
12 #include <ostream>
13 
14 class DtReaderWriter;
15 
16 typedef void (*DtPutSelfCallbackFcn)(
17  DtReaderWriter* obj, std::string& fp, void* userData);
18 
24 
27 {
28 public:
29 
32 
35  DtPutSelfCallbackFcn cb, void* userData);
36 
38  virtual ~DtPutSelfCallbackInfo();
39 
42 
44  DtPutSelfCallbackInfo& operator=(
45  const DtPutSelfCallbackInfo& orig);
46 
48  int operator==(const DtPutSelfCallbackInfo& orig) const;
49  int operator!=(const DtPutSelfCallbackInfo& orig) const;
50 
52  virtual void setCallbackFunction(DtPutSelfCallbackFcn funct);
53  virtual DtPutSelfCallbackFcn callbackFunction() const;
54 
56  virtual void setFilePtr(std::string& fp);
57  virtual std::string& filePtr() const;
58 
61  virtual void setUserData(void* data);
62  virtual void* userData() const;
63 
64 protected:
65 
67  std::string* myFilePtr;
68  void* myUserData;
69 };
70 
#define DT_DLL_readerWriter
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: readerWriterDefines.h:34
void(* DtPutSelfCallbackFcn)(DtReaderWriter *obj, std::string &fp, void *userData)
Definition: putSelfCallbackInfo.h:16
DtPutSelfCallbackFcn myCallbackFunction
Definition: putSelfCallbackInfo.h:66
void * myUserData
Definition: putSelfCallbackInfo.h:68
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Definition: readerWriter.h:85
class DtPutSelfCallbackInfo:
Definition: putSelfCallbackInfo.h:26
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
std::string * myFilePtr
Definition: putSelfCallbackInfo.h:67

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)