Fixed EED-319

Description:
    - Fixed doc issue
      Added an html version for the C++ function mapping table and removed
      the single web page version.
      Updated cpp_doc_config to use the html file.
    - Added a couple more minor tests
This commit is contained in:
Binh-Minh Ribler 2018-07-18 10:36:05 -05:00
parent 9a306f8311
commit dd0a040ec8
5 changed files with 24282 additions and 35298 deletions

24268
c++/src/C2Cppfunction_map.htm Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -48,7 +48,7 @@
Datatype Interface (H5T) DataType and subclasses
\endverbatim
*
* This <a href="./C2Cppfunction_map.mht">
* This <a href="./C2Cppfunction_map.htm">
* table </a> provides a map from the C APIs to the C++ member functions.
* <br />
* \section install_sec Installation

View File

@ -1140,7 +1140,7 @@ HTML_EXTRA_STYLESHEET =
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_EXTRA_FILES = ./header_files/help.jpg \
./C2Cppfunction_map.mht
./C2Cppfunction_map.htm
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
# will adjust the colors in the stylesheet and background images according to

View File

@ -1070,7 +1070,7 @@ static void test_operators()
// Test with EnumType
//
// Create a enumerate datatype
// Create an enumerate datatype
EnumType enumtyp(sizeof(short));
enumtyp.insert("RED", (enum_val=0,&enum_val));
@ -1085,17 +1085,26 @@ static void test_operators()
// Test with compound datatype's member
//
// Create a variable-length string type
// Create random atomic datatypes
IntType inttyp(PredType::NATIVE_INT);
FloatType flttyp(PredType::NATIVE_FLOAT);
// Get NATIVE_INT member from the compound datatype above
// Get the NATIVE_INT member from the compound datatype above
IntType member_inttyp = cmptyp.getMemberIntType(0);
// Test various combinations
verify_val(inttyp == member_inttyp, true, "DataType::operator==", __LINE__, __FILE__);
verify_val(flttyp == member_inttyp, false, "DataType::operator==", __LINE__, __FILE__);
verify_val(flttyp != member_inttyp, true, "DataType::operator==", __LINE__, __FILE__);
// Get the NATIVE_LONG member from the compound datatype above
IntType member_longtyp = cmptyp.getMemberIntType(2);
// Test various combinations
verify_val(inttyp == member_longtyp, false, "DataType::operator==", __LINE__, __FILE__);
verify_val(flttyp == member_longtyp, false, "DataType::operator==", __LINE__, __FILE__);
verify_val(flttyp != member_longtyp, true, "DataType::operator==", __LINE__, __FILE__);
PASSED();
}
catch (Exception& E)