Coin Logo http://www.sim.no
http://www.coin3d.org

SoReadError.h
1#ifndef COIN_SOREADERROR_H
2#define COIN_SOREADERROR_H
3
4/**************************************************************************\
5 *
6 * This file is part of the Coin 3D visualization library.
7 * Copyright (C) 1998-2007 by Systems in Motion. All rights reserved.
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * ("GPL") version 2 as published by the Free Software Foundation.
12 * See the file LICENSE.GPL at the root directory of this source
13 * distribution for additional information about the GNU GPL.
14 *
15 * For using Coin with software that can not be combined with the GNU
16 * GPL, and for taking advantage of the additional benefits of our
17 * support services, please contact Systems in Motion about acquiring
18 * a Coin Professional Edition License.
19 *
20 * See http://www.coin3d.org/ for more information.
21 *
22 * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
23 * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
24 *
25\**************************************************************************/
26
27#include <Inventor/errors/SoError.h>
28
29class SoInput;
30
31
32class COIN_DLL_API SoReadError : public SoError {
33 typedef SoError inherited;
34
35public:
36 static void setHandlerCallback(SoErrorCB * const function,
37 void * const data);
38 static SoErrorCB * getHandlerCallback(void);
39 static void * getHandlerData(void);
40
41 static SoType getClassTypeId(void);
42 virtual SoType getTypeId(void) const;
43
44 static void post(const SoInput * const in, const char * const format, ...);
45
46 static void initClass(void);
47
48protected:
49 virtual SoErrorCBPtr getHandler(void *& data) const;
50
51private:
52 static SoType classTypeId;
53 static SoErrorCB * callback;
54 static void * callbackData;
55};
56
57#endif // !COIN_SOREADERROR_H
static void initClass(void)
Definition SoError.cpp:98
static SoErrorCB * getHandlerCallback(void)
Definition SoError.cpp:184
static void setHandlerCallback(SoErrorCB *const func, void *const data)
Definition SoError.cpp:164
virtual SoErrorCBPtr getHandler(void *&data) const
Definition SoError.cpp:278
virtual SoType getTypeId(void) const
Definition SoError.cpp:137
static void post(const char *const format,...)
Definition SoError.cpp:217
static void * getHandlerData(void)
Definition SoError.cpp:194
static SoType getClassTypeId(void)
Definition SoError.cpp:124
The SoInput class is an abstraction of file import functionality.
Definition SoInput.h:55
The SoReadError class is used during model import operations.
Definition SoReadError.h:32
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:50

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Thu Jan 16 2025 for Coin by Doxygen. 1.13.2