Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / IDL_Test / string_value.idl
blobc0b1b6c0f94e6d1ebfc6206c033dc514acd7f55d
1 //=============================================================================
3 /**
4 * @file string_value.idl
6 * This file contains depends on the TAO supplied StringValue type. Generated
7 * code based on such IDL failed to compile since the IDL compiler inserted a
8 * #include of a non-existent StringValueA.h.
10 * Note that the include must be relative to $TAO_ROOT. If included as
11 * "Valuetype/StringValue.pidl" The compiler assumes the generated A.h file
12 * is in the tao/AnyTypeCode directory. This cannot work because it sets up a
13 * circular dependency between libTAO_AnyTypeCode and libTAO_ValueType. It
14 * also requires an additional -I$TAO_ROOT/tao which is non traditional.
17 //=============================================================================
20 #ifndef IDL_TEST_STRING_VALUE_IDL
21 #define IDL_TEST_STRING_VALUE_IDL
23 #include "tao/Valuetype/StringValue.pidl"
25 module include_test
27 valuetype StringTest
29 public ::CORBA::StringValue my_string_value;
33 #endif /* IDL_TEST_STRING_VALUE_IDL */