Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
a7ac9526
Commit
a7ac9526
authored
May 11, 2016
by
Axel Auweter
Browse files
Add GPL headers to DCDBTools.
parent
abd22ad9
Changes
13
Hide whitespace changes
Inline
Side-by-side
DCDBTools/dcdbconfig/dbaction.cpp
View file @
a7ac9526
/*
* sensoraction.h
*
* Created on: Jan 25, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : dbaction.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Implementation for performing actions on the DCDB Database
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<iostream>
#include
<string>
...
...
DCDBTools/dcdbconfig/dbaction.h
View file @
a7ac9526
/*
* dbaction.h
*
* Created on: Sep 01, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : dbaction.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Headers for performing actions on the DCDB Database
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<dcdb/connection.h>
#include
<dcdb/sensordatastore.h>
...
...
DCDBTools/dcdbconfig/dcdbconfig.cpp
View file @
a7ac9526
/*
* dcdbconfig.cpp
*
* Created on: Jan 06, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : dcdbconfig.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Main file of the dcdbconfig command line utility
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<iostream>
#include
<cstring>
...
...
DCDBTools/dcdbconfig/sensoraction.cpp
View file @
a7ac9526
/*
* sensoraction.h
*
* Created on: Jan 25, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : sensoraction.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Implementation of actions on the DCDB sensor configuration
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<iostream>
#include
<string>
...
...
DCDBTools/dcdbconfig/sensoraction.h
View file @
a7ac9526
/*
* sensoraction.h
*
* Created on: Jan 25, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : sensoraction.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Header for modifications on the DCDB sensor configuration
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<dcdb/connection.h>
#include
"cassandra.h"
...
...
DCDBTools/dcdbconfig/useraction.cpp
View file @
a7ac9526
/*
* useraction.cpp
*
* Created on: Jan 25, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : useraction.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Factory for classes depending on the user chosen action
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
"useraction.h"
#include
"sensoraction.h"
...
...
DCDBTools/dcdbconfig/useraction.h
View file @
a7ac9526
/*
* useraction.h
*
* Created on: Jan 25, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : useraction.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Header of factory for classes depending on the user chosen action
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<memory>
...
...
DCDBTools/dcdbcsvimport/dcdbcsvimport.cpp
View file @
a7ac9526
/*
* dcdbcsvimport.cpp
*
* Created on: Apr 13, 2016
* Author: Axel Auweter & Michael Ott
*/
//================================================================================
// Name : dcdbcsvimport.cpp
// Author : Michael Ott
// Copyright : Leibniz Supercomputing Centre
// Description : Command line utility for importing CSV data into DCDB
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<iostream>
#include
<cstdio>
...
...
DCDBTools/dcdbquery/dcdbquery.cpp
View file @
a7ac9526
/*
* dcdbquery.cpp
*
* Created on: Jan 06, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : dcdbquery.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Main file of the dcdbquery command line utility
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
/* C++ standard headers */
#include
<iostream>
...
...
DCDBTools/dcdbquery/query.cpp
View file @
a7ac9526
/*
* query.cpp
*
* Created on: Feb 19, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : query.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Implementation of query class of dcdbquery
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<iostream>
#include
<list>
...
...
DCDBTools/dcdbquery/query.h
View file @
a7ac9526
/*
* query.cpp
*
* Created on: Feb 20, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : query.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Header of query class of dcdbquery
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<list>
#include
<string>
...
...
DCDBTools/dcdbquerysum/dcdbquerysum.cpp
View file @
a7ac9526
/*
* dcdbquerysum.cpp
*
* Created on: Jan 14, 2016
* Author: Axel Auweter
*/
//================================================================================
// Name : dcdbquerysum.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Command line utility for testing the dcdbquerysum implementation
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
/* C++ standard headers */
#include
<list>
...
...
DCDBTools/dcdbunitconv/dcdbunitconv.cpp
View file @
a7ac9526
/*
* dcdbunitconv.cpp
*
* Created on: Aug 12, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : dcdbunitconv.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Command line utility for testing the DCDB's unit conversion
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
/* C++ standard headers */
#include
<iostream>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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