Changeset 271 in pacpusframework
- Timestamp:
- Mar 13, 2014, 10:41:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/ComponentBase.cpp
r270 r271 324 324 : m_dom_element(&dom_element) 325 325 , m_allowed_options(allowed_options) 326 , m_allow_unregistered( false)326 , m_allow_unregistered(allow_unregistered) 327 327 , m_i(0) 328 328 { … … 334 334 } 335 335 336 //private:337 friend class iterator_core_access;336 private: 337 friend class ::boost::iterator_core_access; 338 338 339 339 bool equal(const basic_dom_element_iterator<charT>& other) const … … 429 429 bool allow_unregistered) 430 430 { 431 // TODO: use XPath paths 432 431 433 typedef char charT; 432 434 … … 481 483 LOG_INFO(mOptionsDescription); 482 484 483 vector<string> xargs = convertAttributesToArgumentVector(cfg.getProperties());484 485 485 po::variables_map vm; 486 486 try { 487 487 po::store( 488 488 DomElementParser(cfg.getDomElement()) 489 //po::command_line_parser(xargs)490 489 .options(mOptionsDescription) 491 490 .allow_unregistered() // FIXME: temporary only, at term all the components specify all parameters
Note:
See TracChangeset
for help on using the changeset viewer.