29 #ifndef __LineOrdering_H
30 #define __LineOrdering_H 1
39 static uint16_type f2p( uint16_type , uint16_type )
43 static uint16_type f2e( uint16_type , uint16_type )
45 throw std::logic_error(
"invalid call to line::f2e" );
48 static uint16_type e2p( uint16_type , uint16_type )
53 std::vector<uint16_type> entity( uint16_type , uint16_type )
const
55 std::vector<uint16_type> __entity( 1 );
64 template<u
int16_type Order>
68 static uint16_type f2p( uint16_type f, uint16_type )
72 static uint16_type f2e( uint16_type , uint16_type )
74 throw std::logic_error(
"invalid call to line::f2e" );
75 return uint16_type( -1 );
78 static uint16_type e2p( uint16_type , uint16_type p )
83 static const uint16_type __e2p[11];
85 std::vector<uint16_type> entity( uint16_type , uint16_type )
const
87 std::vector<uint16_type> __entity( 2 );
93 template<u
int16_type Order>
const uint16_type line<Order>::__e2p[11] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };