namespaces

This commit is contained in:
The Coriolis Project 2008-04-08 20:53:31 +00:00
parent e5892a9fb9
commit 51dd2b29b3
3 changed files with 7 additions and 9 deletions

View File

@ -10,7 +10,7 @@ using namespace Hurricane;
#include "Transistor.h"
#include "MetaTransistor.h"
namespace Chamsin {
namespace Hurricane {
// ****************************************************************************************************
// MetaTransistor implementation

View File

@ -14,7 +14,7 @@ using namespace Hurricane;
#include "Transistor.h"
namespace Chamsin {
namespace Hurricane {
// ****************************************************************************************************
// Transistor::Polarity implementation

View File

@ -1,21 +1,19 @@
#include <iostream>
#include "DataBase.h"
#include "Technology.h"
#include "Library.h"
#include "Warning.h"
using namespace Hurricane;
#include "crlcore/CDataBase.h"
using namespace CRL;
#include "TrMos.h"
using namespace DEVICE;
int main() {
try {
cout << "simple analogic test" << endl;
DataBase* db = DataBase::create();
Technology* technology = Technology::create(db, Name("MyTechnology"));
Library* rootLibrary = Library::create(db, Name("RootLibrary"));
Library* workLibrary = Library::create(rootLibrary, Name("WorkLibrary"));
CDataBase* db = CDataBase::create();
Library* workLibrary = Library::create(db->getRootLibrary(), Name("WorkLibrary"));
TrMos* trmos = TrMos::create(workLibrary, Name("MosTr"));
exit(0);
} catch (Hurricane::Warning& w) {