output.cc (8989:4968bf4ab67c) | output.cc (9398:6a348f61220c) |
---|---|
1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 131 unchanged lines hidden (view full) --- 140OutputDirectory::directory() const 141{ 142 if (dir.empty()) 143 panic("Output directory not set!"); 144 145 return dir; 146} 147 | 1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 131 unchanged lines hidden (view full) --- 140OutputDirectory::directory() const 141{ 142 if (dir.empty()) 143 panic("Output directory not set!"); 144 145 return dir; 146} 147 |
148inline string | 148string |
149OutputDirectory::resolve(const string &name) const 150{ 151 return (name[0] != PATH_SEPARATOR) ? dir + name : name; 152} 153 154ostream * 155OutputDirectory::create(const string &name, bool binary) 156{ --- 111 unchanged lines hidden --- | 149OutputDirectory::resolve(const string &name) const 150{ 151 return (name[0] != PATH_SEPARATOR) ? dir + name : name; 152} 153 154ostream * 155OutputDirectory::create(const string &name, bool binary) 156{ --- 111 unchanged lines hidden --- |