Changeset 659 for CMT/HEAD/source/cmt_symbol.cxx
- Timestamp:
- Dec 11, 2013, 10:48:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_symbol.cxx
r656 r659 50 50 CmtSystem::cmt_string_vector& value, 51 51 const cmt_string& tag_name = "") const; 52 inline const bool& get_ path_strip() const;53 inline void set_ path_strip (const bool& path_strip);52 inline const bool& get_strip_path () const; 53 inline void set_strip_path (const bool& strip_path); 54 54 55 55 PathBuilder (); 56 PathBuilder (bool path_strip);56 PathBuilder (bool strip_path); 57 57 58 58 private: 59 bool m_ path_strip;59 bool m_strip_path; 60 60 }; 61 61 //------------------------------------------------------------- … … 754 754 { 755 755 static SetBuilder Set; 756 static PathBuilder Path (Cmt::get_ path_strip());756 static PathBuilder Path (Cmt::get_strip_path ()); 757 757 //static PathBuilder Path; 758 758 static MacroBuilder Macro; … … 1255 1255 1256 1256 //------------------------------------------------------------- 1257 bool Symbol::set_ path_strip (const bool& path_strip)1257 bool Symbol::set_strip_path (const bool& strip_path) 1258 1258 { 1259 1259 // searching for a path symbol … … 1264 1264 if (symbol.type == Symbol::SymbolPath) 1265 1265 { 1266 static_cast<PathBuilder*> (symbol.builder)->set_ path_strip (path_strip);1266 static_cast<PathBuilder*> (symbol.builder)->set_strip_path (strip_path); 1267 1267 return true; 1268 1268 } … … 2570 2570 //------------------------------------------------------------- 2571 2571 PathBuilder::PathBuilder () 2572 : m_ path_strip(false)2573 { 2574 } 2575 2576 //------------------------------------------------------------- 2577 PathBuilder::PathBuilder (bool path_strip)2572 : m_strip_path (false) 2573 { 2574 } 2575 2576 //------------------------------------------------------------- 2577 PathBuilder::PathBuilder (bool strip_path) 2578 2578 { 2579 2579 PathBuilder (); 2580 m_ path_strip = path_strip;2580 m_strip_path = strip_path; 2581 2581 } 2582 2582 … … 3033 3033 if (!exists) 3034 3034 { 3035 if (m_ path_strip)3035 if (m_strip_path) 3036 3036 { 3037 3037 if (!reg.match (v)) … … 3084 3084 3085 3085 //------------------------------------------------------------- 3086 inline const bool& PathBuilder::get_ path_strip() const3087 { 3088 return m_ path_strip;3089 } 3090 3091 //------------------------------------------------------------- 3092 inline void PathBuilder::set_ path_strip (const bool& path_strip)3093 { 3094 m_ path_strip = path_strip;3086 inline const bool& PathBuilder::get_strip_path () const 3087 { 3088 return m_strip_path; 3089 } 3090 3091 //------------------------------------------------------------- 3092 inline void PathBuilder::set_strip_path (const bool& strip_path) 3093 { 3094 m_strip_path = strip_path; 3095 3095 } 3096 3096 … … 3712 3712 if (!pb) 3713 3713 pb = static_cast<PathBuilder*> (symbol.builder); 3714 if (pb->get_ path_strip())3714 if (pb->get_strip_path ()) 3715 3715 { 3716 3716 /* … … 3784 3784 } 3785 3785 } 3786 else // (!pb->get_ path_strip())3786 else // (!pb->get_strip_path ()) 3787 3787 { 3788 3788 if (CmtError::has_pending_error ())
Note: See TracChangeset
for help on using the changeset viewer.