MCPcopy Create free account
hub / github.com/PDAL/PDAL / pathNameUnparse

Method pathNameUnparse

plugins/e57/libE57Format/src/ImageFileImpl.cpp:787–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785 }
786
787 ustring ImageFileImpl::pathNameUnparse( bool isRelative, const std::vector<ustring> &fields )
788 {
789 ustring path;
790
791 if ( !isRelative )
792 {
793 path.push_back( '/' );
794 }
795
796 for ( unsigned i = 0; i < fields.size(); ++i )
797 {
798 path.append( fields.at( i ) );
799
800 if ( i < fields.size() - 1 )
801 {
802 path.push_back( '/' );
803 }
804 }
805
806 return path;
807 }
808
809 unsigned ImageFileImpl::bitsNeeded( int64_t minimum, int64_t maximum )
810 {

Callers 1

lookupMethod · 0.80

Calls 3

atMethod · 0.80
sizeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected