GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — passengercpp/src/graph_passenger.cpp at main · onepointerT/passengercpp Expand file tree/ Copy pathgraph_passenger.cppMore file actions 59 lines (44 loc) · 1.53 KB / Copy pathgraph_passenger.cppFile metadata and controls59 lines (44 loc) · 1.53 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 #include "graph_passenger.hpp" namespace passenger { GraphPassenger::GraphPassenger() : std::string() {} GraphPassenger::GraphPassenger( const std::string name ) : std::string( name ) {} const std::string GraphPassenger::getValue( const std::string key ) const { for ( unsigned int i = 0; i < m_parameter_pairs.size(); i++ ) { parameter_pair_t parameter_pair = m_parameter_pairs.at( i ); if ( parameter_pair.first == key ) { return parameter_pair.second; } } return std::string(); } bool GraphPassenger::absolvedFunction() { /* DO SOMETHING WITH STACK VALUES */ return true; } bool GraphPassenger::absolvedActionFunction( const parameter_list_t parameters ) { for ( typename parameter_list_t::const_iterator it = parameters.begin() ; it != parameters.end(); ++it ) { bool is_new = true; for ( typename parameter_list_t::iterator it2 = m_parameter_pairs.begin() ; it2 != m_parameter_pairs.end(); ++it2 ) { if ( it2->first == it->first ) { it2->second = it->second; is_new = false; break; } } if ( is_new ) { m_parameter_pairs.push_back( *it ); } } return this->absolvedFunction(); } GraphPassengerNumber< num_non_default >; GraphPassengerNumber< num_default >; } // namespace passenger |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |