Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixHDF5
Commits
f7470962
Commit
f7470962
authored
Nov 24, 2020
by
Pierre Aubert
Browse files
Initial commit
parent
9e8307d6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
src/BackEnd/CMakeLists.txt
src/BackEnd/CMakeLists.txt
+1
-1
src/Representation/PRepr.cpp
src/Representation/PRepr.cpp
+3
-3
src/Representation/PRepr.h
src/Representation/PRepr.h
+4
-4
src/Representation/PRepr.pdata
src/Representation/PRepr.pdata
+1
-1
src/main.cpp
src/main.cpp
+1
-1
No files found.
src/BackEnd/CMakeLists.txt
View file @
f7470962
...
...
@@ -6,6 +6,6 @@ file(GLOB listSrc "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
add_library
(
phoenix_hdf5_backend SHARED
${
listSrc
}
)
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
}
)
src/Representation/PRepr.cpp
View file @
f7470962
...
...
@@ -162,7 +162,7 @@ void PAttribute::setDocString(const std::string & docString){
///Sets the vecDim of the PAttribute
/** @param vecDim : vecDim of the PAttribute
*/
void
PAttribute
::
setVecDim
(
const
std
::
vector
<
Dimention
>
&
vecDim
){
void
PAttribute
::
setVecDim
(
const
std
::
vector
<
P
Dimention
>
&
vecDim
){
p_vecDim
=
vecDim
;
}
...
...
@@ -225,14 +225,14 @@ std::string & PAttribute::getDocString(){
///Gets the vecDim of the PAttribute
/** @return vecDim of the PAttribute
*/
const
std
::
vector
<
Dimention
>
&
PAttribute
::
getVecDim
()
const
{
const
std
::
vector
<
P
Dimention
>
&
PAttribute
::
getVecDim
()
const
{
return
p_vecDim
;
}
///Gets the vecDim of the PAttribute
/** @return vecDim of the PAttribute
*/
std
::
vector
<
Dimention
>
&
PAttribute
::
getVecDim
(){
std
::
vector
<
P
Dimention
>
&
PAttribute
::
getVecDim
(){
return
p_vecDim
;
}
...
...
src/Representation/PRepr.h
View file @
f7470962
...
...
@@ -48,7 +48,7 @@ class PAttribute{
void
setColName
(
const
std
::
string
&
colName
);
void
setType
(
const
std
::
string
&
type
);
void
setDocString
(
const
std
::
string
&
docString
);
void
setVecDim
(
const
std
::
vector
<
Dimention
>
&
vecDim
);
void
setVecDim
(
const
std
::
vector
<
P
Dimention
>
&
vecDim
);
const
std
::
string
&
getName
()
const
;
std
::
string
&
getName
();
const
std
::
string
&
getColName
()
const
;
...
...
@@ -57,8 +57,8 @@ class PAttribute{
std
::
string
&
getType
();
const
std
::
string
&
getDocString
()
const
;
std
::
string
&
getDocString
();
const
std
::
vector
<
Dimention
>
&
getVecDim
()
const
;
std
::
vector
<
Dimention
>
&
getVecDim
();
const
std
::
vector
<
P
Dimention
>
&
getVecDim
()
const
;
std
::
vector
<
P
Dimention
>
&
getVecDim
();
protected:
void
copyPAttribute
(
const
PAttribute
&
other
);
private:
...
...
@@ -71,7 +71,7 @@ class PAttribute{
///Documentation string
std
::
string
p_docString
;
///Vector of all dimention if the attribute is a tensor
std
::
vector
<
Dimention
>
p_vecDim
;
std
::
vector
<
P
Dimention
>
p_vecDim
;
};
///@brief Generated DataSet class
...
...
src/Representation/PRepr.pdata
View file @
f7470962
...
...
@@ -23,7 +23,7 @@ PAttribute{
///Documentation string
std::string docString;
///Vector of all dimention if the attribute is a tensor
std::vector<Dimention> vecDim;
std::vector<
P
Dimention> vecDim;
}
///@brief Generated DataSet class
...
...
src/main.cpp
View file @
f7470962
...
...
@@ -33,7 +33,7 @@ OptionParser createOptionParser(){
* @param outputDir : output directory to be used
* @return true on success, false otherwise
*/
bool
createSourceFromConfig
(
const
std
::
st
i
rng
&
inputFile
,
const
std
::
string
&
outputDir
){
bool
createSourceFromConfig
(
const
std
::
str
i
ng
&
inputFile
,
const
std
::
string
&
outputDir
){
//TODO
return
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment