Commit Graph

58 Commits

Author SHA1 Message Date
Ward Fisher
0bf071d412 Cleaned up some stale temporary files in support of https://github.com/Unidata/netcdf-cxx4/issues/28 2016-02-22 18:22:01 +00:00
Ward Fisher
003ad80d82 Fixed a variety of static-analysis reported issues. 2016-01-21 20:45:36 +00:00
Ward Fisher
cc7bfa08fb Removed a dead assignment reported by clang static analysis. 2016-01-21 20:08:08 +00:00
Ward Fisher
ecdf9147d5 Corrected missing quotes as reported by Robert Fischer. 2015-12-07 11:15:41 -07:00
Ward Fisher
0fcd27467f Merge branch 'getMemberName' of https://github.com/jarlela/netcdf-cxx4 into jarlela-getMemberName 2015-08-31 09:57:02 -06:00
Nico Schlömer
d6d4699298 properly use ${CMAKE_INSTALL_*DIR} 2015-06-17 14:52:55 +02:00
Guillaume Fraux
42be1b0955 Add install target in Cmake 2015-06-05 16:33:54 +02:00
Guillaume Fraux
39f78cff86 Automatic files detection 2015-06-05 16:33:32 +02:00
Ward Fisher
c4c5a5032a Added the NcFile.open() and .close() test to autotools. 2015-05-11 12:38:42 -06:00
Ward Fisher
0a524a6974 Added a test for NcFile.open() and NcFile.close() 2015-05-11 12:32:23 -06:00
Ward Fisher
cbd2ed896d Merge branch 'open-close' of https://github.com/Luthaf/netcdf-cxx4 into Luthaf-open-close 2015-05-11 10:13:59 -06:00
Jarle Ladstein
d5ec1b83ce Corrected size of allocated memory for field name in NcCompoundType::getMemberName 2015-04-25 12:02:14 +02:00
Jarle Ladstein
e1f300c5ae Added NcCompoundType methods getMemberName and getMemberIndex 2015-04-24 17:46:36 +02:00
Ward Fisher
b1d7b8bdd8 Added the tests. 2015-04-15 01:33:19 -06:00
Ward Fisher
a36773b8da Further cmake work. We are generating libraries now. 2015-04-14 06:14:22 -06:00
Ward Fisher
6ff2779b5f Renamed a file. Work prorgresses on integrating cmake support. 2015-04-13 08:43:53 -06:00
Ward Fisher
82e280a81c Initisl fleshing out of cmake file in cxx4 directory. 2015-04-13 01:42:05 -06:00
Ward Fisher
f92e46a005 Added blank CMakeLists.txt 2015-04-12 16:28:31 +02:00
Luthaf
d8fcd7e594 Add open and close methods for NcFile
Fix #17
2015-04-12 16:22:43 +02:00
Ward Fisher
22c2740f7e Removed what appears to be some development scripts. 2015-04-12 02:52:51 -06:00
Jarle Ladstein
2f26ae3fc6 Do not call nc_close on null object in NcFile destructor 2014-01-10 10:38:58 +01:00
Russ Rew
1d9f9eda36 Merge branch 'exception_code_msg' of https://github.com/jarlela/netcdf-cxx4 into jarlela-exception_code_msg 2014-01-03 13:42:35 -07:00
Jarle Ladstein
951ca46b0d Included missing header for strerror + handle unknown system error code 2014-01-03 10:55:00 +01:00
slayoo
920860a164 NcFile ctor: handling format + open 2013-12-29 01:53:18 +01:00
slayoo
fb1f81ace7 addVar for scalar variables 2013-12-29 01:46:56 +01:00
slayoo
0d1698d09b assuring no exception is thrown from ncFile dtor 2013-12-29 01:13:30 +01:00
slayoo
76a61b9ba7 automatic data/define mode switching for classic files (see example in cxx4/test_classic.cpp) 2013-12-29 01:06:31 +01:00
Russ Rew
92ec0a9f40 Add missing NcFile::enddef() method, so can create files of all format types 2013-12-23 13:04:05 -07:00
Russ Rew
e013ab35f0 Merge branch 'sync' of https://github.com/jarlela/netcdf-cxx4 into jarlela-sync
Conflicts:
	cxx4/ncFile.h
2013-12-17 14:32:27 -07:00
Russ Rew
d3234f85cf Merge pull request #7 from jarlela/vc_debug_assertions
Vc debug assertions
2013-12-17 13:15:13 -08:00
Russ Rew
021f947e33 Merge branch 'vc_warnings' of https://github.com/jarlela/netcdf-cxx4 into jarlela-vc_warnings 2013-12-17 14:05:47 -07:00
Russ Rew
85985bfbb9 Merge branch 'NcFile_copy_assign' of https://github.com/jarlela/netcdf-cxx4 into jarlela-NcFile_copy_assign 2013-12-17 13:50:38 -07:00
Jarle Ladstein
9f06cab078 Added error code member variable to NcException and changed constructor signatures 2013-12-16 17:42:52 +01:00
Jarle Ladstein
a77a11dba7 Added 'NcFile' member function 'sync' to expose nc_sync from netcdf-c 2013-12-13 16:07:37 +01:00
Jarle Ladstein
224e9931f8 Changed NcCompondType::addMemeber 2013-12-13 15:04:53 +01:00
Jarle Ladstein
8737f61d4e Removed some references to element in possibly empty vectors in ncVar.cpp 2013-12-13 14:32:57 +01:00
Jarle Ladstein
3a2635cc33 Removed possible reference to element of empty vector in NcCompound::addMember 2013-12-13 12:55:09 +01:00
Jarle Ladstein
9d8ac73120 Removed several vector out of bounds debug assertion failures in ncGroup.cpp 2013-12-12 16:27:49 +01:00
Jarle Ladstein
5cc79df739 All test running in debug mode 2013-12-12 14:42:01 +01:00
Jarle Ladstein
114301e56f Reference to element of possibly empty vector removed in NcDim::isUnlimited 2013-12-12 14:37:02 +01:00
Jarle Ladstein
ac3d1f0aef Removed some references to elements of empty vectors. Calls from test_att and test_var2 2013-12-12 14:25:12 +01:00
Jarle Ladstein
fce2747f00 NcVar.getChunkingParameters: vector.reserve changed to vector.resize and removed reference to first element of empty verctor in the case of a scalar NcVar 2013-12-12 13:37:50 +01:00
Jarle Ladstein
8924333ad3 Comment 2013-12-11 15:46:45 +01:00
Jarle Ladstein
5e131652be Fixed unsigned/signed mismatch + unsafe type converion warnings in tests 2013-12-11 13:54:31 +01:00
Russ Rew
1b6dae27f3 Merge branch 'test_type' of https://github.com/jarlela/netcdf-cxx4 into jarlela-test_type 2013-12-10 16:21:25 -07:00
Russ Rew
36285f9e73 Merge branch 'compiler_warnings_Wwrite-strings' of https://github.com/jarlela/netcdf-cxx4 into jarlela-compiler_warnings_Wwrite-strings 2013-12-10 16:17:11 -07:00
Russ Rew
3b43a4c012 Merge branch 'compiler_warnings_operators' of https://github.com/jarlela/netcdf-cxx4 into jarlela-compiler_warnings_operators 2013-12-10 16:09:00 -07:00
Russ Rew
e5ccb03f20 Changed nullptr to NULL for compilers not at C++11 yet 2013-12-10 16:00:32 -07:00
Jarle Ladstein
f1d7123f5a Fixed bug in test of compound type fill value 2013-12-10 16:39:58 +01:00
Jarle Ladstein
cf35fe8980 Removed unsafe copy constructor and assignment operator, declared private 2013-12-09 18:43:38 +01:00