static void printRank( int num_args, FNOV_RANK *rank, PRINT_RANK_FORMAT fmt ) /***************************************************************************/ { int i; for( i = 0 ; i < num_args ; i++ ) { if( fmt == PRINT_THIS ) { printf( " 'this': %s ", rankNames[rank->rank] ); } else if( fmt == PRINT_RETURN ) { printf( " Return: %s ", rankNames[rank->rank] ); } else { printf( " [%d]: %s ", i+1, rankNames[rank->rank] ); } if( rank->userdef ) { printControl( rank->control ); printf( "\tUsrDef Input: " ); printScalar( &rank->u.ud.in, true ); printf( "\tUsrDef Output: " ); printScalar( &rank->u.ud.out, true ); } else { printScalar( &rank->u.no_ud, false ); printControl( rank->control ); } rank++; } }
void Competencia::mostrar(std::ostream& os) const{ if(finalizada()){ os << endl << "Categoria: (" << categoria().first << " , " << (categoria().second == Masculino? "Masculino":"Femenino" ) << " )" << endl << "Finalizada: True" << endl << "Participantes: " << participantes() << endl <<"Ranking: " << _ranking << " Control Antidoping: "; printControl(os); } else { os << endl << "Categoria: (" << categoria().first << " , " << (categoria().second == Masculino? "Masculino":"Femenino") << " )" << endl << "Finalizada: False" << endl << "Participantes: " << participantes(); } }
void printMixerLineControls(HMIXER handle, MIXERLINE* mixerLine) { MIXERLINECONTROLS controls; DWORD i; TRACE1(" Controls for %s:\n", mixerLine->szName); if (getControlInfo(handle, mixerLine, &controls)) { for (i = 0; i < controls.cControls; i++) { printControl(&controls.pamxctrl[i]); } if (controls.pamxctrl) { free(controls.pamxctrl); controls.pamxctrl = NULL; } } }