Author: edslattery
Date: Thu Apr 20 07:00:04 2006
New Revision: 395593

URL: http://svn.apache.org/viewcvs?rev=395593&view=rev
Log: (empty)

Added:
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.cpp  
 (with props)
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.h   
(with props)
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.cpp   
(with props)
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.h   (with 
props)

Added: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.cpp
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.cpp?rev=395593&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.cpp 
(added)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.cpp 
Thu Apr 20 07:00:04 2006
@@ -0,0 +1,34 @@
+/*
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/* $Rev$ $Date$ */
+
+#include "commonj/sdo/GroupDefinition.h"
+namespace commonj
+{
+    namespace sdo
+    {
+        GroupDefinition::GroupDefinition()
+        {
+        }
+        
+        GroupDefinition::~GroupDefinition()
+        {
+        }
+        
+    } // End - namespace sdo
+} // End - namespace commonj

Propchange: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.h
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.h?rev=395593&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.h 
(added)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.h 
Thu Apr 20 07:00:04 2006
@@ -0,0 +1,57 @@
+/*
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/* $Rev$ $Date$ */
+
+#ifndef _GROUPDEFINITION_H_
+#define _GROUPDEFINITION_H_
+
+#include "commonj/sdo/disable_warn.h"
+#include "commonj/sdo/GroupEvent.h"
+
+#include "list"
+
+
+namespace commonj
+{
+    namespace sdo
+    {
+        
+       
+/**
+ * TypeDefinition holds information gathered from parsing the
+ * XSD and used for creating Types
+ */
+        class GroupDefinition
+        {
+            
+        public:
+            GroupDefinition();
+            virtual ~GroupDefinition();
+        
+    
+            SDOXMLString name;
+            SDOXMLString uri;
+            bool isAttributeGroup;
+            std::vector<GroupEvent> events;
+
+        };
+    } // End - namespace sdo
+} // End - namespace commonj
+
+
+#endif //_TYPEDEFINITION_H_

Propchange: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupDefinition.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.cpp
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.cpp?rev=395593&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.cpp 
(added)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.cpp Thu 
Apr 20 07:00:04 2006
@@ -0,0 +1,62 @@
+/*
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/* $Rev$ $Date$ */
+
+#include "commonj/sdo/GroupEvent.h"
+namespace commonj
+{
+    namespace sdo
+    {
+        GroupEvent::GroupEvent()
+        {
+        }
+        
+        GroupEvent::GroupEvent(
+                const SDOXMLString& inlocalname,
+                const SDOXMLString& inprefix,
+                const SDOXMLString& inURI,
+                const SAX2Namespaces& innamespaces,
+                const SAX2Attributes& inattributes
+            )
+        {
+            localname = inlocalname;
+            prefix = inprefix;
+            URI = inURI;
+            namespaces = innamespaces;
+            attributes = inattributes;
+            isStartEvent = true;
+        }
+
+        GroupEvent::GroupEvent(
+                const SDOXMLString& inlocalname,
+                const SDOXMLString& inprefix,
+                const SDOXMLString& inURI
+            )
+        {
+            localname = inlocalname;
+            prefix = inprefix;
+            URI = inURI;
+            isStartEvent = false;
+        }
+
+        GroupEvent::~GroupEvent()
+        {
+        }
+        
+    } // End - namespace sdo
+} // End - namespace commonj

Propchange: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.h
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.h?rev=395593&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.h (added)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.h Thu Apr 
20 07:00:04 2006
@@ -0,0 +1,68 @@
+/*
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/* $Rev$ $Date$ */
+
+#ifndef _GROUPEVENT_H_
+#define _GROUPEVENT_H_
+
+#include "commonj/sdo/disable_warn.h"
+
+
+#include "commonj/sdo/SAX2Parser.h"
+
+namespace commonj
+{
+    namespace sdo
+    {
+        
+       
+        class GroupEvent
+        {
+            
+        public:
+            GroupEvent();
+            GroupEvent(
+                const SDOXMLString& inlocalname,
+                const SDOXMLString& inprefix,
+                const SDOXMLString& inURI,
+                const SAX2Namespaces& innamespaces,
+                const SAX2Attributes& inattributes
+            );
+
+            GroupEvent(
+                const SDOXMLString& inlocalname,
+                const SDOXMLString& inprefix,
+                const SDOXMLString& inURI
+            );
+
+            virtual ~GroupEvent();
+        
+            bool isStartEvent;
+            SDOXMLString localname;
+            SDOXMLString prefix;
+            SDOXMLString URI;
+            SAX2Namespaces namespaces;
+            SAX2Attributes attributes;
+
+
+        };
+    } // End - namespace sdo
+} // End - namespace commonj
+
+
+#endif //_TYPEDEFINITION_H_

Propchange: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/GroupEvent.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date


Reply via email to