Home | History | Annotate | Download | only in grxmlcompile

Lines Matching refs:label

1029     std::string label;
1038 if ( m_LabelList.getFirst( &origIndex, &label ) ) {
1039 if ( IsSlot( label ) ) {
1040 orderedList.insert( orderedIndex++, label );
1042 while (m_LabelList.getNext( &origIndex, &label ) ) {
1043 if ( IsSlot( label ) ) {
1044 orderedList.insert( orderedIndex++, label );
1050 if ( m_LabelList.getFirst( &origIndex, &label ) ) {
1053 std::cout << label << " "<< label.find_first_of ("@") << std::endl;
1055 if (!IsSlot(label) && label.find_first_of ("@") != string::npos) {
1057 std::cout << " Adding " << label << std::endl;
1059 orderedList.insert( orderedIndex++, label );
1061 } while (m_LabelList.getNext( &origIndex, &label ) );
1068 // 5. Remaining stuff. NB We depend upon the label not
1070 if ( m_LabelList.getFirst( &origIndex, &label ) ) {
1071 if ( !orderedList.getIndex( label, &index ) ) {
1072 orderedList.insert( orderedIndex++, label );
1074 while (m_LabelList.getNext( &origIndex, &label ) ) {
1075 if ( !orderedList.getIndex( label, &index ) ) {
1076 orderedList.insert( orderedIndex++, label );
1082 bool bRes = orderedList.getFirst( &index, &label );
1086 m_LabelList.getIndex( label, &origIndex );
1088 label = scope + ":" + label;
1089 outfile << label << " " << index << std::endl;
1090 bRes = orderedList.getNext( &index, &label );
1101 std::string label;
1103 if ( m_TagList.getFirst( &index, &label ) ) {
1104 outfile << index << " " << label << std::endl;
1106 while (m_TagList.getNext( &index, &label ) ) {
1107 outfile << index << " " << label << std::endl;
1168 std::string label;
1172 if ( m_LabelList.getFirst( &origIndex, &label ) ) {
1174 orderedList.push_back( label );
1175 while (m_LabelList.getNext( &origIndex, &label ) ) {
1176 orderedList.push_back( label );
1184 label = *citer;
1185 m_LabelList.getIndex( label, &origIndex );
1186 m_SortedLabelList.insert( index, label );
1188 // std::cout <<"Sorted: " << index <<" " << label <<std::endl;
1196 sortLabels(); // Create the sorted label list.
1205 sortLabels(); // Create the sorted label list.
1248 const char* label = iter->first.c_str();
1249 if( !strncmp(label,SCRIPT_LABEL_PREFIX, SCRIPT_LABEL_PREFIX_LEN)
1250 && strspn(label+SCRIPT_LABEL_PREFIX_LEN,"0123456789")==strlen(label+SCRIPT_LABEL_PREFIX_LEN) ) {
1251 scriptID = atoi(label+SCRIPT_LABEL_PREFIX_LEN);
1254 }/* else if( !strncmp(label,SCRIPT_LABEL_PREFIX, SCRIPT_LABEL_PREFIX_LEN)) {