/usr/include/Cable/CxxTypes/cxxTypeSystem.h is in libcableswig-dev 0.1.0+cvs20111009-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | /*=========================================================================
Program: CABLE - CABLE Automates Bindings for Language Extension
Module: $RCSfile: cxxTypeSystem.h,v $
Language: C++
Date: $Date: 2002-10-23 21:35:02 $
Version: $Revision: 1.16 $
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
See Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef _cxxTypeSystem_h
#define _cxxTypeSystem_h
// Include all the type representations.
#include "cxxTypes.h"
namespace _cxx_
{
/**
* A complete system of types. This class must be used to generate all
* type representations.
*/
class _cxx_EXPORT TypeSystem
{
public:
const ArrayType* GetArrayType(const CvQualifiedType&,
unsigned long);
ClassType* GetClassType(const String&,
bool isCopyable = false,
const ClassTypes& = ClassTypes());
const EnumerationType* GetEnumerationType(const String&);
const FunctionType* GetFunctionType(const CvQualifiedType&,
const CvQualifiedTypes&);
const FundamentalType* GetFundamentalType(FundamentalType::Id);
const PointerType* GetPointerType(const CvQualifiedType&);
const PointerToMemberType* GetPointerToMemberType(const CvQualifiedType&,
const ClassType*);
const ReferenceType* GetReferenceType(const CvQualifiedType&);
TypeSystem();
~TypeSystem();
private:
// Forward declare the map types used in the implementation of this
// class. They need only be defined in the .cxx file.
struct ArrayTypeMap;
struct ClassTypeMap;
struct EnumerationTypeMap;
struct FunctionTypeMap;
struct FundamentalTypeMap;
struct PointerTypeMap;
struct PointerToMemberTypeMap;
struct ReferenceTypeMap;
///! Store all the ArrayType instances that have been allocated.
ArrayTypeMap* m_ArrayTypeMap;
///! Store all the ClassType instances that have been allocated.
ClassTypeMap* m_ClassTypeMap;
///! Store all the EnumerationType instances that have been allocated.
EnumerationTypeMap* m_EnumerationTypeMap;
///! Store all the FunctionType instances that have been allocated.
FunctionTypeMap* m_FunctionTypeMap;
///! Store all the FundamentalType instances that have been allocated.
FundamentalTypeMap* m_FundamentalTypeMap;
///! Store all the PointerType instances that have been allocated.
PointerTypeMap* m_PointerTypeMap;
///! Store all the PointerToMemberType instances that have been allocated.
PointerToMemberTypeMap* m_PointerToMemberTypeMap;
///! Store all the ReferenceType instances that have been allocated.
ReferenceTypeMap* m_ReferenceTypeMap;
};
} // namespace _cxx_
#endif
|