Changeset 3:51e65c23453d in rrlib_uri


Ignore:
Timestamp:
27.06.2017 07:39:29 (6 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Adds functions to create absolute and relative paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tPath.h

    r0 r3  
    178178 
    179179  /*! 
     180   * \return Absolute version of this path 
     181   */ 
     182  inline tPath MakeAbsolute() const 
     183  { 
     184    return tPath(true, Begin(), End()); 
     185  } 
     186 
     187  /*! 
     188   * \return Relative version of this path 
     189   */ 
     190  inline tPath MakeRelative() const 
     191  { 
     192    return tPath(false, Begin(), End()); 
     193  } 
     194 
     195  /*! 
    180196   * Sets path elements from string 
    181197   * 
Note: See TracChangeset for help on using the changeset viewer.