|
Gaudi Framework, version v22r4 |
| Home | Generated: Fri Sep 2 2011 |
00001 // $Id:$ 00002 // Copyright 2011 alexander.mazurov@gmail.com 00003 // ============================================================================ 00004 // Include files 00005 // ============================================================================ 00006 #include "Property.h" 00007 00008 #include "PropertyName.h" 00009 #include "PropertyValue.h" 00010 // ============================================================================ 00011 // STD & STL: 00012 // ============================================================================ 00013 // ============================================================================ 00014 // Boost: 00015 // ============================================================================ 00016 #include <boost/format.hpp> 00017 // ============================================================================ 00018 // Namespace aliases: 00019 namespace gp = Gaudi::Parsers; 00020 // ============================================================================ 00021 const gp::Position& gp::Property::DefinedPosition() const { 00022 return property_name_.position(); 00023 } 00024 // ============================================================================ 00025 const gp::Position& gp::Property::ValuePosition() const { 00026 return property_value_.position(); 00027 } 00028 // ============================================================================ 00029 std::string gp::Property::ClientName() const { 00030 return property_name_.client(); 00031 } 00032 // ============================================================================ 00033 std::string gp::Property::NameInClient() const { 00034 return property_name_.property(); 00035 } 00036 // ============================================================================ 00037 std::string gp::Property::FullName() const { 00038 return property_name_.ToString(); 00039 } 00040 // ============================================================================ 00041 std::string gp::Property::ValueAsString() const { 00042 return property_value_.ToString(); 00043 } 00044 // ============================================================================ 00045 std::string gp::Property::ToString() const { 00046 return FullName()+" = "+ValueAsString(); 00047 } 00048 // ============================================================================ 00049 bool gp::Property::IsSimple() const { 00050 return property_value_.IsSimple(); 00051 } 00052 // ============================================================================ 00053 bool gp::Property::IsVector() const { 00054 return property_value_.IsVector(); 00055 } 00056 // ============================================================================ 00057 bool gp::Property::IsMap() const { 00058 return property_value_.IsMap(); 00059 } 00060 // ============================================================================