MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / concatenate_path

Function concatenate_path

OgreMain/src/OgreFileSystem.cpp:105–111  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

103 }
104 //-----------------------------------------------------------------------
105 static String concatenate_path( const String &base, const String &name )
106 {
107 if( base.empty() || is_absolute_path( name.c_str() ) )
108 return name;
109 else
110 return base + '/' + name;
111 }
112 //-----------------------------------------------------------------------
113#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 || OGRE_PLATFORM == OGRE_PLATFORM_WINRT
114 std::wstring to_wpath( const String &text, unsigned codepage = CP_UTF8 )

Callers 6

findFilesMethod · 0.85
openMethod · 0.85
createMethod · 0.85
removeMethod · 0.85
existsMethod · 0.85
getModifiedTimeMethod · 0.85

Calls 3

is_absolute_pathFunction · 0.85
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected