Revision: 44676
http://brlcad.svn.sourceforge.net/brlcad/?rev=44676&view=rev
Author: davidloman
Date: 2011-05-25 11:06:40 +0000 (Wed, 25 May 2011)
Log Message:
-----------
Rough in skeleton for BrlcadDb class. Will contain all fns necessary for
loading, reading, writing and saving a .g file.
Modified Paths:
--------------
geomcore/trunk/src/GS/CMakeLists.txt
Added Paths:
-----------
geomcore/trunk/include/BrlcadDb.h
geomcore/trunk/src/GS/BrlcadDb.cxx
Added: geomcore/trunk/include/BrlcadDb.h
===================================================================
--- geomcore/trunk/include/BrlcadDb.h (rev 0)
+++ geomcore/trunk/include/BrlcadDb.h 2011-05-25 11:06:40 UTC (rev 44676)
@@ -0,0 +1,46 @@
+/* B R L C A D D B . H
+ * BRL-CAD
+ *
+ * Copyright (c) 2011 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+/** @file BrlcadDb.h
+ *
+ */
+
+#ifndef __BRLCADDB_H__
+#define __BRLCADDB_H__
+
+#include <string>
+
+class BrlcadDb {
+public:
+ BrlcadDb(std::string path);
+ virtual
+ ~BrlcadDb();
+};
+
+#endif /* __BRLCADDB_H__ */
+
+/*
+ * Local Variables:
+ * tab-width: 8
+ * mode: C
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */
Property changes on: geomcore/trunk/include/BrlcadDb.h
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Revision Date Author
Added: svn:eol-style
+ native
Added: geomcore/trunk/src/GS/BrlcadDb.cxx
===================================================================
--- geomcore/trunk/src/GS/BrlcadDb.cxx (rev 0)
+++ geomcore/trunk/src/GS/BrlcadDb.cxx 2011-05-25 11:06:40 UTC (rev 44676)
@@ -0,0 +1,46 @@
+/* B R L C A D D B . C X X
+ * BRL-CAD
+ *
+ * Copyright (c) 2011 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+/** @file BrlcadDb.cxx
+ *
+ */
+
+#include "BrlcadDb.h"
+#include "db.h"
+#include "raytrace.h"
+
+BrlcadDb::BrlcadDb()
+{
+ // TODO Auto-generated constructor stub
+
+}
+
+BrlcadDb::~BrlcadDb()
+{
+ // TODO Auto-generated destructor stub
+}
+
+// Local Variables:
+// tab-width: 8
+// mode: C++
+// c-basic-offset: 4
+// indent-tabs-mode: t
+// c-file-style: "stroustrup"
+// End:
+// ex: shiftwidth=4 tabstop=8
Property changes on: geomcore/trunk/src/GS/BrlcadDb.cxx
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Revision Date Author
Added: svn:eol-style
+ native
Modified: geomcore/trunk/src/GS/CMakeLists.txt
===================================================================
--- geomcore/trunk/src/GS/CMakeLists.txt 2011-05-25 11:05:11 UTC (rev
44675)
+++ geomcore/trunk/src/GS/CMakeLists.txt 2011-05-25 11:06:40 UTC (rev
44676)
@@ -36,6 +36,7 @@
)
SET(geomserv_SRCS
+ BrlcadDb.cxx
GeometryService.cxx
DataManager.cxx
FileDataSource.cxx
@@ -77,6 +78,7 @@
ENDIF(BUILD_STATIC_LIBS)
SET(geomserv_inst_HDRS
+ BrlcadDb.h
Session.h
SessionManager.h
Account.h
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits