File: HDFAttributable.hpp

package info (click to toggle)
pbseqlib 0~20161219-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,924 kB
  • ctags: 5,123
  • sloc: cpp: 82,727; makefile: 305; python: 239; sh: 8
file content (24 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _BLASR_HDF_ATTRIBUTABLE_HPP_
#define _BLASR_HDF_ATTRIBUTABLE_HPP_

#include <string>
#include <vector>
#include <H5Cpp.h>
#include <H5Location.h>

void CallStoreAttributeName(H5::H5Location &obj, std::string attrName, void *attrListPtr);

class HDFAttributable {
public:
    std::vector<std::string> attributeNameList;

    void StoreAttributeNames(H5::H5Location &thisobject, 
        const std::vector<std::string> &attributeNames); 

    virtual H5::H5Location* GetObject(); 

    int ContainsAttribute(const std::string & attributeName); 

};

#endif