00001 /* 00002 00003 Copyright (c) 2002-2005, Yauheni Akhotnikau 00004 All rights reserved. 00005 00006 Redistribution and use in source and binary forms, with or without 00007 modification, are permitted provided that the following conditions are met: 00008 00009 - Redistributions of source code must retain the above copyright notice, this 00010 list of conditions and the following disclaimer. 00011 00012 - Redistributions in binary form must reproduce the above copyright notice, this 00013 list of conditions and the following disclaimer in the documentation and/or 00014 other materials provided with the distribution. 00015 00016 - The name of the author may not be used to endorse or promote products derived 00017 from this software without specific prior written permission. 00018 00019 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 00020 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 00021 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 00022 EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00023 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 00024 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 00025 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 00026 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 00027 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 00028 OF SUCH DAMAGE. 00029 00030 */ 00031 00032 #if !defined( _OESS_1__SCHEME__ERRNO_HPP_ ) 00033 #define _OESS_1__SCHEME__ERRNO_HPP_ 00034 00035 #include <oess_1/defs/h/errno_range.hpp> 00036 00037 namespace oess_1 { 00038 00039 namespace scheme { 00040 00041 namespace err { 00042 00043 const int c_range_min = oess_1::impl::c_errno__scheme; 00044 const int c_range_max = c_range_min + 1000; 00045 00047 const int c_base_already_defined = c_range_min + 1; 00048 00050 const int c_invalid_index_of_base = c_range_min + 2; 00051 00053 const int c_attr_already_defined = c_range_min + 3; 00054 00056 const int c_invalid_index_of_attr = c_range_min + 4; 00057 00059 const int c_zero_pointer = c_range_min + 5; 00060 00062 const int c_type_not_found = c_range_min + 6; 00063 00065 const int c_attr_editor_exists = c_range_min + 7; 00066 00068 const int c_attr_editor_not_exists = c_range_min + 8; 00069 00071 const int c_invalid_index_of_type = c_range_min + 9; 00072 00074 const int c_type_editor_exists = c_range_min + 10; 00075 00077 const int c_type_editor_not_exists = c_range_min + 11; 00078 00080 const int c_type_already_defined = c_range_min + 12; 00081 00083 const int c_ddl_syntax_error = c_range_min + 13; 00084 00086 const int c_invalid_attr_type_kind = c_range_min + 15; 00087 00089 const int c_invalid_attr_cont_kind = c_range_min + 16; 00090 00092 const int c_type_not_defined = c_range_min + 17; 00093 00095 const int c_abstract_type_for_attr = c_range_min + 18; 00096 00098 const int c_cycle = c_range_min + 19; 00099 00101 const int c_builtin_type_as_base = c_range_min + 20; 00102 00104 00120 const int c_no_present_if_predicate_code = c_range_min + 21; 00121 00123 00129 const int c_serialization_code_generation_fail = c_range_min + 22; 00130 00132 00148 const int c_no_default_expression = c_range_min + 23; 00149 00151 00158 const int c_extension_level_mismatch = c_range_min + 24; 00159 00161 00168 const int c_not_extensible_type = c_range_min + 25; 00169 00171 00177 const int c_already_derived_as_extension = c_range_min + 26; 00178 00181 00184 const int c_mi_disabled_when_derived_as_extension = c_range_min + 27; 00185 00187 00198 const int c_try_get_present_if_for_nonoptional_attr = c_range_min + 28; 00199 00201 00208 const int c_default_attr_value_already_defined = c_range_min + 29; 00209 00211 00218 const int c_default_attr_value_missed = c_range_min + 30; 00219 00220 } /* namespace err */ 00221 00222 } /* namespace scheme */ 00223 00224 } /* namespace oess_1 */ 00225 00226 #endif