예제 #1
0
Manipulator* ManipGroup::GetManip (Iterator i) { return Manip(Elem(i)); }
예제 #2
0
파일: picture.cpp 프로젝트: PNCG/neuron
void Picture::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
예제 #3
0
파일: picture.cpp 프로젝트: PNCG/neuron
bool Picture::Done (Iterator i) { return Elem(i) == _kids->End(); }
예제 #4
0
boolean Clipboard::Done (Iterator i) { return Elem(i) == _comps->End(); }
예제 #5
0
void Clipboard::InsertBefore (Iterator i, GraphicComp* comp) {
    Elem(i)->Append(new UList(comp));
}
예제 #6
0
파일: io.hpp 프로젝트: kundor/Sprout
	inline SPROUT_NON_CONSTEXPR std::basic_ostream<Elem, Traits>&
	operator<<(std::basic_ostream<Elem, Traits>& lhs, sprout::rational<IntType> const& rhs) {
		return lhs << rhs.numerator() << Elem('/') << rhs.denominator();
	}
예제 #7
0
void Clipboard::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
예제 #8
0
ExternView* PostScriptViews::GetView (Iterator i) { return View(Elem(i)); }
예제 #9
0
파일: editorinfo.cpp 프로젝트: PNCG/neuron
const char* EditorInfo::GetInfo (int index) {
    return (char*) Elem(index)->tag();
}
예제 #10
0
void PostScriptViews::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
예제 #11
0
boolean PostScriptViews::Done (Iterator i) { return Elem(i) == _views->End(); }
예제 #12
0
void PostScriptViews::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
예제 #13
0
void ManipGroup::InsertAfter (Iterator i, Manipulator* g) {
    Elem(i)->Prepend(new ManipList(g));
}
예제 #14
0
void ManipGroup::InsertBefore (Iterator i, Manipulator* g) {
    Elem(i)->Append(new ManipList(g));
}
예제 #15
0
void MacroCmd::InsertAfter (Iterator& i, Command* cmd) {
    Elem(i)->Prepend(new UList(cmd));
}
예제 #16
0
파일: editorinfo.cpp 프로젝트: PNCG/neuron
const char* EditorInfo::GetName (int index) { 
    return (char*) Elem(index)->id();
}
예제 #17
0
파일: uhash.cpp 프로젝트: PNCG/neuron
UHashElem* UHashTable::GetElem (Iterator i) { return Elem(UElem(i)); }
예제 #18
0
            m_vector[i].mp_subtree->testTreeStructure(node_height, res);
            //Either its the first call or the heights are the same
            Q_ASSERT(prev_node_height ==-1 || (prev_node_height == node_height));
            Q_ASSERT((i == (m_count -1)) ||   *res < m_vector[i+1]);
        }
    }
    Q_ASSERT(sub_node_count == m_total_nodes);
    if(node_height ==-1){
        height = 0;
    } else {
        height = node_height;
    }
    if(is_leaf()) {
        lastBottomElem = &m_vector[m_count-1];
    } else {
        lastBottomElem = res;
    }

    return true;
}
#endif



 
// initialize static data at file scope
template<class KEY, class VALUE> Elem Nde::m_failure = Elem();
 
 
 
예제 #19
0
void Cube::calcInds() {
    inds.push_back(Elem(0, 1, 2));
    inds.push_back(Elem(0, 2, 3));
    inds.push_back(Elem(0, 3, 4));
    inds.push_back(Elem(3, 5, 4));
    inds.push_back(Elem(2, 6, 3));
    inds.push_back(Elem(6, 5, 3));
    inds.push_back(Elem(0, 4, 7));
    inds.push_back(Elem(0, 7, 1));
    inds.push_back(Elem(0, 2, 1));
    inds.push_back(Elem(0, 6, 2));
    inds.push_back(Elem(7, 4, 6));
    inds.push_back(Elem(6, 4, 5));
    
}
예제 #20
0
void MacroCmd::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
예제 #21
0
void Clipboard::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
예제 #22
0
void MacroCmd::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
예제 #23
0
GraphicComp* Clipboard::GetComp (Iterator i) { return Comp(Elem(i)); }
예제 #24
0
boolean MacroCmd::Done (Iterator& i) { return Elem(i) == _cmds->End(); }
예제 #25
0
void Clipboard::InsertAfter (Iterator i, GraphicComp* comp) {
    Elem(i)->Prepend(new UList(comp));
}
예제 #26
0
Command* MacroCmd::GetCommand (Iterator& i) { return Cmd(Elem(i)); }
예제 #27
0
파일: picture.cpp 프로젝트: PNCG/neuron
void Picture::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
예제 #28
0
void MacroCmd::InsertBefore (Iterator& i, Command* cmd) {
    Elem(i)->Append(new UList(cmd));
}
예제 #29
0
파일: picture.cpp 프로젝트: PNCG/neuron
Graphic* Picture::GetGraphic (Iterator i) { return graphic(Elem(i)); }
예제 #30
0
boolean ManipGroup::Done (Iterator i) { return Elem(i) == _kids->End(); }