Commit f7470962 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Initial commit

parent 9e8307d6
...@@ -6,6 +6,6 @@ file(GLOB listSrc "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") ...@@ -6,6 +6,6 @@ file(GLOB listSrc "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
add_library(phoenix_hdf5_backend SHARED ${listSrc}) add_library(phoenix_hdf5_backend SHARED ${listSrc})
target_link_libraries(phoenix_hdf5_backend ${LIB_DEPENDENCIES}) target_link_libraries(phoenix_hdf5_backend ${LIB_DEPENDENCIES})
install(TARGETS phoenix_hdf5 DESTINATION ${LIBRARY_DIRECTORY} LIBRARY DESTINATION ${LIBRARY_DIRECTORY}) install(TARGETS phoenix_hdf5_backend DESTINATION ${LIBRARY_DIRECTORY} LIBRARY DESTINATION ${LIBRARY_DIRECTORY})
...@@ -162,7 +162,7 @@ void PAttribute::setDocString(const std::string & docString){ ...@@ -162,7 +162,7 @@ void PAttribute::setDocString(const std::string & docString){
///Sets the vecDim of the PAttribute ///Sets the vecDim of the PAttribute
/** @param vecDim : vecDim of the PAttribute /** @param vecDim : vecDim of the PAttribute
*/ */
void PAttribute::setVecDim(const std::vector<Dimention> & vecDim){ void PAttribute::setVecDim(const std::vector<PDimention> & vecDim){
p_vecDim = vecDim; p_vecDim = vecDim;
} }
...@@ -225,14 +225,14 @@ std::string & PAttribute::getDocString(){ ...@@ -225,14 +225,14 @@ std::string & PAttribute::getDocString(){
///Gets the vecDim of the PAttribute ///Gets the vecDim of the PAttribute
/** @return vecDim of the PAttribute /** @return vecDim of the PAttribute
*/ */
const std::vector<Dimention> & PAttribute::getVecDim() const{ const std::vector<PDimention> & PAttribute::getVecDim() const{
return p_vecDim; return p_vecDim;
} }
///Gets the vecDim of the PAttribute ///Gets the vecDim of the PAttribute
/** @return vecDim of the PAttribute /** @return vecDim of the PAttribute
*/ */
std::vector<Dimention> & PAttribute::getVecDim(){ std::vector<PDimention> & PAttribute::getVecDim(){
return p_vecDim; return p_vecDim;
} }
......
...@@ -48,7 +48,7 @@ class PAttribute{ ...@@ -48,7 +48,7 @@ class PAttribute{
void setColName(const std::string & colName); void setColName(const std::string & colName);
void setType(const std::string & type); void setType(const std::string & type);
void setDocString(const std::string & docString); void setDocString(const std::string & docString);
void setVecDim(const std::vector<Dimention> & vecDim); void setVecDim(const std::vector<PDimention> & vecDim);
const std::string & getName() const; const std::string & getName() const;
std::string & getName(); std::string & getName();
const std::string & getColName() const; const std::string & getColName() const;
...@@ -57,8 +57,8 @@ class PAttribute{ ...@@ -57,8 +57,8 @@ class PAttribute{
std::string & getType(); std::string & getType();
const std::string & getDocString() const; const std::string & getDocString() const;
std::string & getDocString(); std::string & getDocString();
const std::vector<Dimention> & getVecDim() const; const std::vector<PDimention> & getVecDim() const;
std::vector<Dimention> & getVecDim(); std::vector<PDimention> & getVecDim();
protected: protected:
void copyPAttribute(const PAttribute & other); void copyPAttribute(const PAttribute & other);
private: private:
...@@ -71,7 +71,7 @@ class PAttribute{ ...@@ -71,7 +71,7 @@ class PAttribute{
///Documentation string ///Documentation string
std::string p_docString; std::string p_docString;
///Vector of all dimention if the attribute is a tensor ///Vector of all dimention if the attribute is a tensor
std::vector<Dimention> p_vecDim; std::vector<PDimention> p_vecDim;
}; };
///@brief Generated DataSet class ///@brief Generated DataSet class
......
...@@ -23,7 +23,7 @@ PAttribute{ ...@@ -23,7 +23,7 @@ PAttribute{
///Documentation string ///Documentation string
std::string docString; std::string docString;
///Vector of all dimention if the attribute is a tensor ///Vector of all dimention if the attribute is a tensor
std::vector<Dimention> vecDim; std::vector<PDimention> vecDim;
} }
///@brief Generated DataSet class ///@brief Generated DataSet class
......
...@@ -33,7 +33,7 @@ OptionParser createOptionParser(){ ...@@ -33,7 +33,7 @@ OptionParser createOptionParser(){
* @param outputDir : output directory to be used * @param outputDir : output directory to be used
* @return true on success, false otherwise * @return true on success, false otherwise
*/ */
bool createSourceFromConfig(const std::stirng & inputFile, const std::string & outputDir){ bool createSourceFromConfig(const std::string & inputFile, const std::string & outputDir){
//TODO //TODO
return true; return true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment