Exemplo n.º 1
0
Manipulator* ManipGroup::GetManip (Iterator i) { return Manip(Elem(i)); }
Exemplo n.º 2
0
void Picture::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
Exemplo n.º 3
0
bool Picture::Done (Iterator i) { return Elem(i) == _kids->End(); }
Exemplo n.º 4
0
boolean Clipboard::Done (Iterator i) { return Elem(i) == _comps->End(); }
Exemplo n.º 5
0
void Clipboard::InsertBefore (Iterator i, GraphicComp* comp) {
    Elem(i)->Append(new UList(comp));
}
Exemplo n.º 6
0
Arquivo: io.hpp Projeto: 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();
	}
Exemplo n.º 7
0
void Clipboard::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
Exemplo n.º 8
0
ExternView* PostScriptViews::GetView (Iterator i) { return View(Elem(i)); }
Exemplo n.º 9
0
const char* EditorInfo::GetInfo (int index) {
    return (char*) Elem(index)->tag();
}
Exemplo n.º 10
0
void PostScriptViews::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
Exemplo n.º 11
0
boolean PostScriptViews::Done (Iterator i) { return Elem(i) == _views->End(); }
Exemplo n.º 12
0
void PostScriptViews::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
Exemplo n.º 13
0
void ManipGroup::InsertAfter (Iterator i, Manipulator* g) {
    Elem(i)->Prepend(new ManipList(g));
}
Exemplo n.º 14
0
void ManipGroup::InsertBefore (Iterator i, Manipulator* g) {
    Elem(i)->Append(new ManipList(g));
}
Exemplo n.º 15
0
void MacroCmd::InsertAfter (Iterator& i, Command* cmd) {
    Elem(i)->Prepend(new UList(cmd));
}
Exemplo n.º 16
0
const char* EditorInfo::GetName (int index) { 
    return (char*) Elem(index)->id();
}
Exemplo n.º 17
0
UHashElem* UHashTable::GetElem (Iterator i) { return Elem(UElem(i)); }
Exemplo n.º 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();
 
 
 
Exemplo n.º 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));
    
}
Exemplo n.º 20
0
void MacroCmd::Next (Iterator& i) { i.SetValue(Elem(i)->Next()); }
Exemplo n.º 21
0
void Clipboard::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
Exemplo n.º 22
0
void MacroCmd::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
Exemplo n.º 23
0
GraphicComp* Clipboard::GetComp (Iterator i) { return Comp(Elem(i)); }
Exemplo n.º 24
0
boolean MacroCmd::Done (Iterator& i) { return Elem(i) == _cmds->End(); }
Exemplo n.º 25
0
void Clipboard::InsertAfter (Iterator i, GraphicComp* comp) {
    Elem(i)->Prepend(new UList(comp));
}
Exemplo n.º 26
0
Command* MacroCmd::GetCommand (Iterator& i) { return Cmd(Elem(i)); }
Exemplo n.º 27
0
void Picture::Prev (Iterator& i) { i.SetValue(Elem(i)->Prev()); }
Exemplo n.º 28
0
void MacroCmd::InsertBefore (Iterator& i, Command* cmd) {
    Elem(i)->Append(new UList(cmd));
}
Exemplo n.º 29
0
Graphic* Picture::GetGraphic (Iterator i) { return graphic(Elem(i)); }
Exemplo n.º 30
0
boolean ManipGroup::Done (Iterator i) { return Elem(i) == _kids->End(); }