/usr/include/cxx/sidl_ContractClass.hxx is in libsidl-dev 1.4.0.dfsg-8build3.
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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | //
// File: sidl_ContractClass.hxx
// Symbol: sidl.ContractClass-v0.9.17
// Symbol Type: enumeration
// Babel Version: 1.4.0 (Revision: 6607 release-1-4-0-branch)
// Release: $Name: $
// Revision: @(#) $Id: $
// Description: Client-side glue code for sidl.ContractClass
//
// Copyright (c) 2000-2002, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the Components Team <components@llnl.gov>
// All rights reserved.
//
// This file is part of Babel. For more information, see
// http://www.llnl.gov/CASC/components/. Please read the COPYRIGHT file
// for Our Notice and the LICENSE file for the GNU Lesser General Public
// License.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License (as published by
// the Free Software Foundation) version 2.1 dated February 1999.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
// conditions of the GNU Lesser General Public License for more details.
//
// You should have recieved a copy of the GNU Lesser General Public License
// along with this program; if not, write to the Free Software Foundation,
// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// WARNING: Automatically generated; changes will be lost
//
#ifndef included_sidl_ContractClass_hxx
#define included_sidl_ContractClass_hxx
#include "sidl_cxx.hxx"
#include "sidl_ContractClass_IOR.h"
namespace sidl {
enum ContractClass {
ContractClass_ALLCLASSES = 0,
ContractClass_CONSTANT = 1,
ContractClass_CUBIC = 2,
ContractClass_INVARIANTS = 3,
ContractClass_INVPOST = 4,
ContractClass_INVPRE = 5,
ContractClass_LINEAR = 6,
ContractClass_METHODCALLS = 7,
ContractClass_POSTCONDS = 8,
ContractClass_PRECONDS = 9,
ContractClass_PREPOST = 10,
ContractClass_QUADRATIC = 11,
ContractClass_QUARTIC = 12,
ContractClass_QUINTIC = 13,
ContractClass_RESULTS = 14,
ContractClass_SEPTIC = 15,
ContractClass_SEXTIC = 16,
ContractClass_SIMPLEEXPRS = 17
};
} // end namespace sidl
struct sidl_ContractClass__array;
namespace sidl {
// traits specialization
template<>
struct array_traits< ::sidl::ContractClass > {
typedef array< ::sidl::ContractClass > cxx_array_t;
typedef ::sidl::ContractClass cxx_item_t;
typedef struct sidl_ContractClass__array ior_array_t;
typedef sidl_long__array ior_array_internal_t;
typedef enum sidl_ContractClass__enum ior_item_t;
typedef cxx_item_t value_type;
typedef value_type& reference;
typedef value_type* pointer;
typedef const value_type& const_reference;
typedef const value_type* const_pointer;
typedef array_iter< array_traits< ::sidl::ContractClass > > iterator;
typedef const_array_iter< array_traits< ::sidl::ContractClass > >
const_iterator;
};
// array specialization
template<>
class array< ::sidl::ContractClass >: public enum_array< array_traits<
::sidl::ContractClass > > {
public:
typedef enum_array< array_traits< ::sidl::ContractClass > > Base;
typedef array_traits< ::sidl::ContractClass >::cxx_array_t
cxx_array_t;
typedef array_traits< ::sidl::ContractClass >::cxx_item_t
cxx_item_t;
typedef array_traits< ::sidl::ContractClass >::ior_array_t
ior_array_t;
typedef array_traits< ::sidl::ContractClass >::ior_array_internal_t
ior_array_internal_t;
typedef array_traits< ::sidl::ContractClass >::ior_item_t
ior_item_t;
/**
* conversion from ior to C++ class
* (constructor/casting operator)
*/
array( struct sidl_ContractClass__array* src = 0) : Base(src) {}
/**
* copy constructor
*/
array( const array< ::sidl::ContractClass > &src) {
d_array = src.d_array;
if (d_array) addRef();
}
/**
* assignment
*/
array< ::sidl::ContractClass >&
operator =( const array< ::sidl::ContractClass > &rhs) {
if (d_array != rhs.d_array) {
if (d_array) deleteRef();
d_array = rhs.d_array;
if (d_array) addRef();
}
return *this;
}
};
}
#endif
|