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

SoDetail.h
1 #ifndef COIN_SODETAIL_H
2 #define COIN_SODETAIL_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/SoType.h>
28 
29 
30 class COIN_DLL_API SoDetail {
31 
32 public:
33  virtual ~SoDetail();
34 
35  static void initClass(void);
36  static void initClasses(void);
37 
38  virtual SoDetail * copy(void) const = 0;
39 
40  virtual SoType getTypeId(void) const = 0;
41  SbBool isOfType(const SoType type) const;
42 
43  static SoType getClassTypeId(void);
44 
45 protected:
46  SoDetail(void);
47 
48 private:
49  static SoType classTypeId;
50 };
51 
52 #endif // !COIN_SODETAIL_H
SoType::badType
static SoType badType(void)
Definition: SoType.cpp:664
SbName
The SbName class stores strings by reference.
Definition: SbName.h:31
SoDetail::getClassTypeId
static SoType getClassTypeId(void)
Definition: SoDetail.cpp:118
SoDetail::getTypeId
virtual SoType getTypeId(void) const =0
SoDetail::copy
virtual SoDetail * copy(void) const =0
SoDetail::initClasses
static void initClasses(void)
Definition: SoDetail.cpp:145
SoType::isDerivedFrom
SbBool isDerivedFrom(const SoType type) const
Definition: SoType.cpp:687
SoType
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:50
SoDetail
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition: SoDetail.h:30
SoDetail::initClass
static void initClass(void)
Definition: SoDetail.cpp:130
SoDetail::~SoDetail
virtual ~SoDetail()
Definition: SoDetail.cpp:101
SoType::createType
static const SoType createType(const SoType parent, const SbName name, const instantiationMethod method=(instantiationMethod) NULL, const uint16_t data=0)
Definition: SoType.cpp:256
SoDetail::SoDetail
SoDetail(void)
Definition: SoDetail.cpp:94
SoDetail::isOfType
SbBool isOfType(const SoType type) const
Definition: SoDetail.cpp:109

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

Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18