[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/object.hpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/object.hpp |
Date: |
Mon, 10 Jan 2005 15:26:07 -0500 |
Index: usata2/src/object.hpp
diff -u usata2/src/object.hpp:1.10 usata2/src/object.hpp:1.11
--- usata2/src/object.hpp:1.10 Mon Jan 10 06:58:12 2005
+++ usata2/src/object.hpp Mon Jan 10 20:10:20 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: object.hpp,v 1.10 2005/01/10 06:58:12 skunix Exp $
+// $Id: object.hpp,v 1.11 2005/01/10 20:10:20 skunix Exp $
#ifndef USATA_GAME_OBJECT_HPP
@@ -49,6 +49,12 @@
virtual ~NodeMissingChild()throw(){}
};
+ class NodePathNotNode : public NodeException
+ {
+ public:
+ NodePathNotNode(const std::string &path,const
std::string&);
+ };
+
}
struct ResourceList
@@ -80,7 +86,8 @@
{
public:
static std::string NodePathPop(std::string&);
- virtual void add_child(const Object_sp&, std::string&
path){};
+ virtual void add(const Object_sp&, const std::string&
path)
+ throw
(exceptions::NodeException);
virtual void add_child(const Object_sp&){};
virtual Object_sp get_child(const std::string&)=0;
- [Usata-commits] Changes to usata2/src/object.hpp, David Lau, 2005/01/01
- [Usata-commits] Changes to usata2/src/object.hpp, David Lau, 2005/01/02
- [Usata-commits] Changes to usata2/src/object.hpp, David Lau, 2005/01/03
- [Usata-commits] Changes to usata2/src/object.hpp, David Lau, 2005/01/07
- [Usata-commits] Changes to usata2/src/object.hpp, David Lau, 2005/01/09
- [Usata-commits] Changes to usata2/src/object.hpp, David Lau, 2005/01/10
- [Usata-commits] Changes to usata2/src/object.hpp,
David Lau <=