Go to the source code of this file.
Classes | |
| struct | TupleAttributeDescriptor |
| A TupleAttributeDescriptor is a component of a TupleDescriptor, as explained in the design docs. More... | |
| class | TupleProjection |
| A TupleProjection specifies a projection of a tuple, as explained in the design docs. More... | |
| class | TupleDescriptor |
| A TupleDescriptor specifies a vector of stored attributes, as explained in the design docs. More... | |
Functions | |
| FENNEL_TUPLE_EXPORT std::ostream & | operator<< (std::ostream &str, TupleDescriptor const &) |
| FENNEL_TUPLE_EXPORT std::ostream & | operator<< (std::ostream &str, TupleAttributeDescriptor const &) |
| FENNEL_TUPLE_EXPORT std::ostream& operator<< | ( | std::ostream & | str, | |
| TupleAttributeDescriptor const & | ||||
| ) |
Definition at line 328 of file TupleDescriptor.cpp.
References TupleAttributeDescriptor::cbStorage, StoredTypeDescriptor::getOrdinal(), TupleAttributeDescriptor::isNullable, TupleAttributeDescriptor::pTypeDescriptor, STANDARD_TYPE_END, and StandardTypeDescriptor::toString().
00331 { 00332 StoredTypeDescriptor::Ordinal ordinal = 00333 attrDesc.pTypeDescriptor->getOrdinal(); 00334 00335 if (ordinal < STANDARD_TYPE_END) { 00336 str << "type = " << StandardTypeDescriptor::toString( 00337 StandardTypeDescriptorOrdinal(ordinal)); 00338 } else { 00339 str << "type ordinal = " << ordinal; 00340 } 00341 str << ", isNullable = " << attrDesc.isNullable; 00342 str << ", cbStorage = " << attrDesc.cbStorage; 00343 return str; 00344 }
| FENNEL_TUPLE_EXPORT std::ostream& operator<< | ( | std::ostream & | str, | |
| TupleDescriptor const & | ||||
| ) |
Definition at line 316 of file TupleDescriptor.cpp.
00317 { 00318 str << "{" << std::endl; 00319 for (uint i = 0; i < tupleDesc.size(); ++i) { 00320 str << "\t" << i << ": "; 00321 str << tupleDesc[i]; 00322 str << std::endl; 00323 } 00324 str << "}" << std::endl; 00325 return str; 00326 }
1.5.1