diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Trader_Base.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Trader/Trader_Base.cpp | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Base.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_Base.cpp deleted file mode 100644 index c5ad6ec9e82..00000000000 --- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Base.cpp +++ /dev/null @@ -1,100 +0,0 @@ -/* -*- C++ -*- */ - -// ============================================================================ -// $Id$ -// -// = LIBRARY -// orbsvcs -// -// = FILENAME -// Trader_Base.cpp -// -// = AUTHOR -// Irfan Pyarali <irfan@cs.wustl.edu> -// -// ============================================================================ - -#define ACE_BUILD_DLL - -#include "Trader_Base.h" -#include "ace/OS.h" -#include <iostream.h> - -TAO_Trader_Base::TAO_Trader_Base (void) - : trading_components_ (*this), - import_attributes_ (*this), - support_attributes_ (*this), - link_attributes_ (*this) -{ -} - -TAO_Import_Attributes_Impl & -TAO_Trader_Base::import_attributes (void) -{ - return this->import_attributes_; -} - -const TAO_Import_Attributes_Impl & -TAO_Trader_Base::import_attributes (void) const -{ - return this->import_attributes_; -} - -TAO_Support_Attributes_Impl & -TAO_Trader_Base::support_attributes (void) -{ - return this->support_attributes_; -} - -const TAO_Support_Attributes_Impl & -TAO_Trader_Base::support_attributes (void) const -{ - return this->support_attributes_; -} - -TAO_Link_Attributes_Impl & -TAO_Trader_Base::link_attributes (void) -{ - return this->link_attributes_; -} - -const TAO_Link_Attributes_Impl & -TAO_Trader_Base::link_attributes (void) const -{ - return this->link_attributes_; -} - -TAO_Trading_Components_Impl & -TAO_Trader_Base::trading_components (void) -{ - return this->trading_components_; -} - -const TAO_Trading_Components_Impl & -TAO_Trader_Base::trading_components (void) const -{ - return this->trading_components_; -} - - -CORBA::Boolean -TAO_Trader_Base::is_valid_identifier_name (const char* ident) -{ - int return_value = 0, - length = ACE_OS::strlen (ident); - - if (length >= 1 && isalpha (ident[0])) - { - return_value = 1; - for (int i = 0; i < length; i++) - { - if (! (isalnum (ident[i]) || ident[i] == '_')) - { - return_value = 0; - break; - } - } - } - - return return_value; -} |