NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [libcf] c++ support

NOTE: The libcf mailing list is no longer active. The list archives are made available for historical reasons.

salah jubeh <s_jubeh@xxxxxxxxx> writes:

> Hello,
>
> Does libcf provide a c++ API or is it just C. for example to access a file
> we can use the following line of code
>
> ÃÂÃÂ // read-only access to the file.
> ÃÂÃÂ NcFile dataFile("simple_xy.nc", NcFile::ReadOnly);
>
> however lib cf require the ncid which is used in the C API
>
>  int nccf_def_convention(int ncid);
>
> Regards

Sorry, there is no C++ API at this time, though, as you note, the C API
can be used directly from C++.

Thanks,

Ed

-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the libcf archives: